hildjj / node-cbor

Encode and decode CBOR documents, with both easy mode, streaming mode, and SAX-style evented mode.
MIT License
357 stars 73 forks source link

Fixes #52, but uses Uint8Array not ArrayBuffer #126

Closed hildjj closed 3 years ago

hildjj commented 3 years ago

Several of the web technologies that I used in fixing #117 return Uint8Array's, even when preferWeb is off, so this feels right. Moving ahead. If anyone doesn't like it, file another issue, and I'll make it configurable or something.

coveralls commented 3 years ago

Coverage Status

Coverage decreased (-0.02%) to 99.808% when pulling 871e0f72b4b05ffb8b53788d736ab87aa9e05c4b on ArrayBuffers into 50077a2bd036f652fcfab85eca3776dd7bd0bc15 on master.