-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Description
Accept both compressed and uncompressed buffers, using gzip-hpp to decompress.
Next Actions
- Add gzip-hpp as dep
- Add check to see if buffer is compressed/decompressed
const char * pointer = data.data();
std::size_t size = data.size();
bool c = gzip::is_compressed(pointer, size);- Implement decompression
// Decompress returns a std::string and decodes both zlib and gzip
const char * compressed_pointer = compressed_data.data();
std::string decompressed_data = gzip::decompress(compressed_pointer, compressed_data.size());- Add tests
cc @springmeyer
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels