snappy
snappy copied to clipboard
input buffer is larger than allowed
This error appears when uncompressing json data that i stringified and compressed
Error: snappy: input buffer (size = 257026677592) is larger than allowed (size = 4294967295)]
same here
I've experienced the same issue.
It happened to me when i tried due to bug to uncompress an invalid type (in my case I fetched the Buffer from redis with get instead of getBuffer, and executed the uncompress on the response).
fixing the bug and using Buffer solved the issue for me.