Namespace for implementation of LZ4 Boost iostream filter. More...
Classes | |
class | Comp_SymFilter |
Compressing symmetric filter, used by boost::iostreams::symmetric_filter<> More... | |
struct | CompressionFailure |
Exception thrown if compression failed for some reason. More... | |
struct | Compressor |
Boost iostream filter which compresses with the LZ4 algorithm. More... | |
class | Decomp_SymFilter |
Decompressing symmetric filter, used by boost::iostreams::symmetric_filter<> More... | |
struct | DecompressionFailure |
Exception thrown if decompression failed for some reason. More... | |
struct | Decompressor |
Boost iostream filter which compresses with the LZ4 algorithm. More... | |
struct | InvalidRange |
Exception thrown if the range supplied by boost for input/output buffers is invalid. More... | |
struct | NotLZ4Stream |
Exception thrown if the magic number of a compressed block does not match LZ4::magic. More... | |
Typedefs | |
typedef std::uint32_t | Size |
Type used to record sizes and magic numbers. More... | |
Functions | |
int | attempt_compression (const char *src_begin, char *out_begin, int src_size, int max_out_size) |
Attempts compression of src_size bytes, starting at src_begin , into a buffer out_begin of size max_out_size . More... | |
Variables | |
constexpr Size | magic = 0x12345678 |
Magic used by new implementation. More... | |
constexpr Size | max_buffer_size = 1024 * 1024 * 1024 |
Maximal buffer size we will accept. More... | |
constexpr Size | opt_buffer_size = 8 * 1024 * 1024 |
"Optimal" buffer size More... | |
Namespace for implementation of LZ4 Boost iostream filter.