Closed KoalaBear84 closed 1 month ago
Cross posted solution to other lib: https://github.com/skbkontur/ZstdNet/issues/32
This seems to work as it should. See https://facebook.github.io/zstd/zstd_manual.html#Chapter6 for a description of the ZSTD_d_windowLogMax
parameter.
I don't say that anything is wrong 😅 Only issue it wasn't working and I had no idea, found a solution and wanted to let it know for others 😇
Ahh, powers of 2, that makes sense why it's only 31 and not the real amount bytes. 👍
Okay, thank you.
I've had some issues with decompression a single file, other went fine.
My fix was the following:
Took the 31 from this
ZSTD_WINDOWLOG_MAX_64
: https://github.com/facebook/zstd/blob/v1.4.5/lib/zstd.h#L1049I have no idea what it all means, but I hope it helps someone stuck with the same issue 😃