Open alex-vukov opened 1 year ago
Probably there is different offset formatting, how do you compress the buffer? what is the library do you use?
I compress the buffer using lz4 encode(). The buffer is in LZ4 frame format. Does lz4-napi only support the block format?
Sorry for the response delay, yes currently support only block format.
Hi @antoniomuso! Are there any plans to support LZ4 frame format? We currently use LZ4 library, which supports it. But recently it was archived, and is not going to be supported anymore. So I'm looking for replacement for it. Unfortunately, I haven't found other LZ4 library for node with LZ4 frame format support. Your library looks the most promising so far - I see that lz4_flex supports frame format, but don't know how easy it is to add it to this library
No matter what buffer I try to decompress I always get this error:
Error: the offset to copy is not contained in the decompressed buffer
. The same buffer gets successfully decompressed by thelz4
library usingdecode
. The same error happens both onuncompress
anduncompressSync
.