keybd 0.1.0

instead of JSON when binary data more than string data
Documentation
  • Coverage
  • 0%
    0 out of 27 items documented0 out of 9 items with examples
  • Size
  • Source code size: 6.22 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 415.27 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 10s Average build duration of successful builds.
  • all releases: 10s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • Bylx666

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.