aether::compression Namespace Reference

Classes

struct  compression_config
 Compression rules for given data context. More...
 
class  packed_reader
 Representation of compressed data: More...
 
class  packed_writer
 

Functions

size_t get_bit_size (uint32_t context)
 
void set_N_bits_left (uint8_t &var, uint8_t n, bool set)
 
void set_N_bits_right (uint8_t &var, uint8_t n, bool set)
 
template<typename T >
void assign_byte (T &dst, const uint8_t *src, uint64_t bitStart)
 

Function Documentation

template<typename T >
void aether::compression::assign_byte ( T &  dst,
const uint8_t *  src,
uint64_t  bitStart 
)
size_t aether::compression::get_bit_size ( uint32_t  context)
void aether::compression::set_N_bits_left ( uint8_t &  var,
uint8_t  n,
bool  set 
)
void aether::compression::set_N_bits_right ( uint8_t &  var,
uint8_t  n,
bool  set 
)