tudocomp
– The TU Dortmund Compression Framework
tdc::BitCoder Class Reference

Defines data encoding to and decoding from a stream of binary integer representations. More...

#include <BitCoder.hpp>

Inheritance diagram for tdc::BitCoder:
tdc::Algorithm

Classes

class  Decoder
 Decodes data from a binary stream. More...
 
class  Encoder
 Encodes data to a binary stream. More...
 

Public Member Functions

 BitCoder ()=delete
 
- Public Member Functions inherited from tdc::Algorithm
virtual ~Algorithm ()=default
 
 Algorithm (Algorithm const &)=default
 
 Algorithm (Algorithm &&)=default
 
Algorithm & operator= (Algorithm const &)=default
 
Algorithm & operator= (Algorithm &&)=default
 
 Algorithm (Env &&env)
 Instantiates an algorithm in the specified environment. More...
 
Env & env ()
 Provides access to the environment that the algorithm works in. More...
 
const Env & env () const
 

Static Public Member Functions

static Meta meta ()
 

Detailed Description

Defines data encoding to and decoding from a stream of binary integer representations.

All values are encoded a binary, using as many bits as necessary to store the maximum value of the respective Range.

Definition at line 13 of file BitCoder.hpp.

Constructor & Destructor Documentation

◆ BitCoder()

tdc::BitCoder::BitCoder ( )
delete

Member Function Documentation

◆ meta()

static Meta tdc::BitCoder::meta ( )
inlinestatic

Definition at line 15 of file BitCoder.hpp.


The documentation for this class was generated from the following file: