Go to the source code of this file.
|
| tdc |
| Contains the text compression and encoding framework.
|
|
|
template<class value_type = uliteral_t> |
value_type | tdc::mtf_encode_char (const value_type v, value_type *const table, const size_t table_size) |
| Encodes a character 'v' by Move-To-Front Coding Needs and modifies a lookup table storing the last-used characters. More...
|
|
template<class value_type = uliteral_t> |
value_type | tdc::mtf_decode_char (const value_type v, value_type *const table) |
| Decodes a character encoded as 'v' by Move-To-Front Coding Needs and modifies a lookup table storing the last-used characters. More...
|
|
template<class char_type = uliteral_t> |
void | tdc::mtf_encode (std::basic_istream< char_type > &is, std::basic_ostream< char_type > &os) |
|
template<class char_type = uliteral_t> |
void | tdc::mtf_decode (std::basic_istream< char_type > &is, std::basic_ostream< char_type > &os) |
|