UNPKG

@cloudpss/ubjson

Version:

Opinionated UBJSON encoder/decoder for CloudPSS.

24 lines 832 B
/** Constants of markers */ export declare const enum constants { NULL = 90,//'Z'.charCodeAt(0) NO_OP = 78,//'N'.charCodeAt(0) TRUE = 84,//'T'.charCodeAt(0) FALSE = 70,//'F'.charCodeAt(0) INT8 = 105,//'i'.charCodeAt(0) UINT8 = 85,//'U'.charCodeAt(0) INT16 = 73,//'I'.charCodeAt(0) INT32 = 108,//'l'.charCodeAt(0) INT64 = 76,//'L'.charCodeAt(0) FLOAT32 = 100,//'d'.charCodeAt(0) FLOAT64 = 68,//'D'.charCodeAt(0) HIGH_PRECISION_NUMBER = 72,//'H'.charCodeAt(0) CHAR = 67,//'C'.charCodeAt(0) STRING = 83,//'S'.charCodeAt(0) ARRAY = 91,//'['.charCodeAt(0) ARRAY_END = 93,//']'.charCodeAt(0) OBJECT = 123,//'{'.charCodeAt(0) OBJECT_END = 125,//'}'.charCodeAt(0) TYPE_MARKER = 36,//'$'.charCodeAt(0) COUNT_MARKER = 35 } //# sourceMappingURL=constants.d.ts.map