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:
- NUL(
0) - as null, property name is specified but no value is setted. - NUMBER(
1) - as unknown typed number stored as ascii,f64is the first selection andi64as the second. - FALSE(
2) and TRUE(3) - as bothbooltype. - BUFFER(
4) - as&[u8]. - STRING(
5) - as UTF-8String. - ARRAY(
6) - as dynamic typed Array of KeyBinDoc items. - OBJECT(
7) - as dynamic key-value Map of KeyBinDoc items.