JSON BinPack 0.0.1
A space-efficient open-source binary JSON serialization format based on JSON Schema with both schema-driven and schema-less support.
 
Loading...
Searching...
No Matches
Number Encodings

Classes

struct  sourcemeta::jsonbinpack::DOUBLE_VARINT_TUPLE
 The encoding consists of a sequence of two integers: The signed integer that results from concatenating the integral part and the decimal part of the number, if any, as a ZigZag-encoded Base-128 64-bit Little Endian variable-length unsigned integer; and the position of the decimal mark from the last digit of the number encoded as a Base-128 64-bit Little Endian variable-length unsigned integer. More...
 
struct  sourcemeta::jsonbinpack::NUMBER_VARINT_TUPLE
 The encoding consists of a sequence of two integers. The first is the signed coefficient of the number as a ZigZag-encoded Base-128 64-bit Little Endian variable-length unsigned integer. The second is the base-10 exponent that the coefficient is scaled by, ZigZag-encoded and shifted left by one bit, whose least significant bit is set when the number is an arbitrary-precision decimal rather than a double, as a Base-128 64-bit Little Endian variable-length unsigned integer. More...
 

Detailed Description