|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
#include <ca-checkpoint-compress.H>#include <algorithm>#include <stdexcept>#include <string>#include <miniz.h>#include <ah-errors.H>Go to the source code of this file.
Namespaces | |
| namespace | Aleph |
| Main namespace for Aleph-w library functions. | |
| namespace | Aleph::CA |
| namespace | Aleph::CA::ca_checkpoint_detail |
Functions | |
| std::vector< std::uint8_t > | Aleph::CA::ca_checkpoint_detail::deflate_bytes (const std::uint8_t *src, std::size_t len, int level) |
| Compress a raw byte buffer with DEFLATE (miniz backend). | |
| std::vector< std::uint8_t > | Aleph::CA::ca_checkpoint_detail::inflate_bytes (const std::uint8_t *src, std::size_t len, std::size_t expected_uncompressed) |
| Decompress a DEFLATE byte buffer back to its raw form. | |
| std::vector< std::uint8_t > | Aleph::CA::ca_checkpoint_detail::inflate_bytes_up_to (const std::uint8_t *src, std::size_t len, std::size_t max_uncompressed) |
| Decompress a DEFLATE byte buffer with an upper bound. | |