msgpackr
msgpackr copied to clipboard
Ultra-fast MessagePack implementation with extension for record and structural cloning / msgpack.org[JavaScript/NodeJS]
The following script: ``` const { Packr } = require ('msgpackr'); const inst= new Packr({ moreTypes: true}); const value = { type: 16, value: new ArrayBuffer(10) }; const serializedAsBuffer =...
**Description:** If I run the following code ```ts import { Packr } from "msgpackr"; const packer = new Packr({ moreTypes: true, }); const data = packer.unpack(packer.pack(() => 10)); console.log(data); //...
I didn't know this package existed, and wrote my own, doh. But mine is scoped too heavily for my project. I want to switch to something a bit more flexible...
I would like to drop keys with null/undefined values from objects. It would be preferable to not need to strip these values first and simply skip over them when packing....
My packed file has reached 1.4gb and I now get this error immediately upon attempting to read it: ``` Uncaught Error: Data read, but end of buffer not reached at...
Hello, I am using msgpackr for server side serialization and using C# for client side deserialization. When using record structure extension, it looks the C# library (https://github.com/MessagePack-CSharp) is not supported....
Hi! We believe we've run into an issue where the msgpackr module can become "poisoned" after encoding a message longer than 2GiB. Here's a test case that reproduces the issue...
resolves https://github.com/kriszyp/msgpackr/issues/130
This would be very useful since it is now part of the ES standard.
I'm using msgpack to serialize python data and then I want to unpack that again in my typescript code. In msgpackr 1.9.9 I was able to unpack a map that...