|
| std::optional< std::vector< uint8_t > > | pulp::runtime::gzip_compress (const uint8_t *data, size_t size, int level=6) |
| | Compress data into an RFC 1952 gzip stream.
|
| std::optional< std::vector< uint8_t > > | pulp::runtime::gzip_decompress (const uint8_t *data, size_t size, size_t max_output=kDefaultMaxDecompressOutput) |
| | Decompress a gzip (RFC 1952) or zlib (RFC 1950) stream.
|
| std::optional< std::vector< uint8_t > > | pulp::runtime::gzip_compress (std::string_view data, int level=6) |
| | Convenience: compress a string into an RFC 1952 gzip stream.
|
| std::optional< std::string > | pulp::runtime::gzip_decompress_string (const uint8_t *data, size_t size) |
| | Convenience: decompress a gzip (RFC 1952) or zlib (RFC 1950) stream into a string.
|
| std::optional< std::vector< uint8_t > > | pulp::runtime::deflate_compress (const uint8_t *data, size_t size, int level=6) |
| | Compress data using raw deflate (no header).
|
| std::optional< std::vector< uint8_t > > | pulp::runtime::deflate_decompress (const uint8_t *data, size_t size) |
| | Decompress raw deflate data.
|
| std::optional< std::vector< uint8_t > > | pulp::runtime::zlib_compress (const uint8_t *data, size_t size, int level=6) |
| | Compress data into an RFC 1950 zlib stream.
|
| std::optional< std::vector< uint8_t > > | pulp::runtime::zlib_decompress (const uint8_t *data, size_t size, size_t max_output=kDefaultMaxDecompressOutput) |
| | Decompress exactly one RFC 1950 zlib stream.
|
| std::optional< std::string > | pulp::runtime::zlib_decompress_exact (const uint8_t *data, size_t size, size_t expected_size) |
| | Decompress one RFC 1950 zlib stream whose inflated size is known in advance (an embedded asset that recorded it at build time) straight into a string of exactly that size, with no growth or second copy.
|