mirror of
https://github.com/google/brotli.git
synced 2026-07-08 17:56:58 +00:00
Can not decompress files created with BrotliCompressBuffer from source larger than 0x800000 bytes #59
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @MacGritsch on GitHub (Oct 27, 2015).
Hi,
as title says, if I compress a allocated (zeroed) buffer of (0x800000 + 1) bytes, the result of BrotliCompressBuffer can not be decompressed using BrotliDecompressBuffer.
As there are no error-codes or messages, I dont know what the problem is.
testing under OS X 10.10.5
thank you
@MacGritsch commented on GitHub (Oct 27, 2015):
ok, now I see that only BrotliDecompressedSize does not work. Compressing itself works fine if I manually set the size.