keybd

Crates.iokeybd
lib.rskeybd
version0.1.0
created_at2025-05-01 10:07:28.103066+00
updated_at2025-05-01 10:07:28.103066+00
descriptioninstead of JSON when binary data more than string data
homepage
repository
max_upload_size
id1656081
size6,224
Subkey (Bylx666)

documentation

README

Key Binary Document

Key Binary Document, also as KeyBinDoc, is an easy and flexible binary internet-transferable format, when binary data more than string data instead of JSON.

KeyBinDoc is hashmap-like, nullable and JavaScript-compatible, and these basic types are supported below:

  1. NUL(0) - as null, property name is specified but no value is setted.
  2. NUMBER(1) - as unknown typed number stored as ascii, f64 is the first selection and i64 as the second.
  3. FALSE(2) and TRUE(3) - as both bool type.
  4. BUFFER(4) - as &[u8].
  5. STRING(5) - as UTF-8 String.
  6. ARRAY(6) - as dynamic typed Array of KeyBinDoc items.
  7. OBJECT(7) - as dynamic key-value Map of KeyBinDoc items.
Commit count: 0

cargo fmt