SyTen
lz4_filter.h File Reference

Implements a symmetric Boost IO filter for LZ4 compression. More...

#include <cstdint>
#include <ios>
#include <boost/iostreams/filter/symmetric.hpp>
#include "inc/util/dynarray.h"
+ Include dependency graph for lz4_filter.h:
+ This graph shows which files directly or indirectly include this file:

Classes

struct  syten::LZ4::Compressor::category
 
struct  syten::LZ4::Decompressor::category
 
class  syten::LZ4::Comp_SymFilter
 Compressing symmetric filter, used by boost::iostreams::symmetric_filter<> More...
 
struct  syten::LZ4::CompressionFailure
 Exception thrown if compression failed for some reason. More...
 
struct  syten::LZ4::Compressor
 Boost iostream filter which compresses with the LZ4 algorithm. More...
 
class  syten::LZ4::Decomp_SymFilter
 Decompressing symmetric filter, used by boost::iostreams::symmetric_filter<> More...
 
struct  syten::LZ4::DecompressionFailure
 Exception thrown if decompression failed for some reason. More...
 
struct  syten::LZ4::Decompressor
 Boost iostream filter which compresses with the LZ4 algorithm. More...
 
struct  syten::LZ4::InvalidRange
 Exception thrown if the range supplied by boost for input/output buffers is invalid. More...
 
struct  syten::LZ4::NotLZ4Stream
 Exception thrown if the magic number of a compressed block does not match LZ4::magic. More...
 

Namespaces

 syten
 Syten namespace.
 
 syten::LZ4
 Namespace for implementation of LZ4 Boost iostream filter.
 

Typedefs

typedef std::uint32_t syten::LZ4::Size
 Type used to record sizes and magic numbers. More...
 

Variables

constexpr Size syten::LZ4::magic = 0x12345678
 Magic used by new implementation. More...
 
constexpr Size syten::LZ4::max_buffer_size = 1024 * 1024 * 1024
 Maximal buffer size we will accept. More...
 
constexpr Size syten::LZ4::opt_buffer_size = 8 * 1024 * 1024
 "Optimal" buffer size More...
 

Detailed Description

Implements a symmetric Boost IO filter for LZ4 compression.