-
-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Encode error when source is too large #170
Comments
The default "highWaterMark" of noFilter is 16384 and it overflowed. Need an option to change it |
https://github.com/hildjj/node-cbor/tree/main/packages/cbor#highwatermark If this needs anything else let me know. |
Thank you, probably should have checked cbor repo. However I think it might be good to raise a warning when overflow. |
I'd take a patch for that, but I'm not sure it's easy to figure out the difference when you're in streaming mode and the backpressure is valid. |
When the file length exceeds a size of around 16KB. the encoded data does will not increase anymore. The data generated is corrupted and can not be decoded.
The text was updated successfully, but these errors were encountered: