cbor-x
cbor-x copied to clipboard
Ultra-fast CBOR encoder/decoder with extensions for records and structural cloning
Sometimes my server throw `Invalid property name type`. I'm cannot provide the actual payload. And I have no time to build mock payload to reproduce it. P.S. my options: ```js...
Stumbled upon a weird issue when testing through-put, whereby streaming raw Uint8Array into the encoder/decoder causes orders of magnitude performance issue. I can't see anything on the options to force...
I would expect this to work: `decode(encode(1234567890123456789012345678901234567890n)) == 1234567890123456789012345678901234567890n` Instead I get `RangeError: 1234567890123456789012345678901234567890 was too large to fit in CBOR 64-bit integer format, set largeBigIntToFloat to convert to float-64`...
`cbor-x` appears to be reading past the end of a string data item, when the string's length was incorrectly specified. In the following example the bytes encode a string with...
#### Why Its important for my use-case that re-encoding some portion of decoded data creates the same binary. #### What When decoding indefinite length array, text, binary or map, -...