tudocomp
– The TU Dortmund Compression Framework
|
Defines data encoding to and decoding from a stream of ASCII characters. More...
#include <ArithmeticCoder.hpp>
Classes | |
class | Decoder |
Decodes data from an Arithmetic character stream. More... | |
class | Encoder |
Encodes data to an ASCII character stream. More... | |
Static Public Member Functions | |
static Meta | meta () |
Yields the coder's meta information. More... | |
Additional Inherited Members | |
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 |
Defines data encoding to and decoding from a stream of ASCII characters.
Literals are encoded by their character representation, bits are encoded using either the character 0 or 1 and integers are encoded as their string representations, terminated by the : character.
Definition at line 16 of file coders/ArithmeticCoder.hpp.
|
inlinestatic |
Yields the coder's meta information.
Definition at line 25 of file coders/ArithmeticCoder.hpp.