TinyDeflate
TinyDeflate copied to clipboard
A deflate/gzip decompressor that requires minimal amount of memory to work
I'm doing some tests with TinyDeflate, but I noticed a divergence in the number of bytes read. In both cases I have the same gzip file loaded into a `std::vector`...
``` extern const char compressed_data[]; extern unsigned compressed_data_length; extern unsigned char outbuffer[131072]; int result = Deflate(compressed_data+0, compressed_data_length, outbuffer, outbuffer + sizeof(outbuffer)); if(result != 0) std::fprintf(stderr, "Error\n"); ``` This is the...
As a not-so-experienced C programmer, I am not sure what to do with the .hh file. Could you kindly give a *complete* working solution?
When compiling on Windows with the Microsoft (R) C/C++ Optimizing Compiler Version 19.28.29914 for x64 compiler and enabling warnings I get the warnings: ``` ...\TinyDeflate\gunzip.hh(983): warning C4800: Implicit conversion from...