Various decompression updates and optimizations

This commit is contained in:
Eric Biggers 2016-01-22 22:54:38 -06:00
parent caa41f200f
commit 16f3b420a0
2 changed files with 434 additions and 702 deletions

View File

@ -94,8 +94,10 @@ deflate_alloc_decompressor(void);
* 'out_nbytes', to 'out'. The return value is true if decompression was
* successful, or false if the compressed data was invalid.
*
* To be clear: the uncompressed size must be known *exactly* and passed as
* 'out_nbytes'.
* Note that the uncompressed size must be known *exactly* and passed as
* 'out_nbytes'. This is because this API is designed for block-based
* compression where the uncompressed size should have already been stored
* elsewhere.
*/
extern bool
deflate_decompress(struct deflate_decompressor *decompressor,

File diff suppressed because it is too large Load Diff