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
 
Algorithmoperator= (Algorithm const &)=default
 
Algorithmoperator= (Algorithm &&)=default
 
 Algorithm (Env &&env)
 Instantiates an algorithm in the specified environment. More...
 
Envenv ()
 Provides access to the environment that the algorithm works in. More...
 
const Envenv () 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: