tetengo 1.8.1
A multipurpose library set
|
An encoder. More...
#include <encoder.hpp>
Public Member Functions | |
virtual | ~encoder ()=default |
Destroys the encoder. | |
encoded_string_type | encode (const string_view_type &string_) const |
Encodes a string. | |
string_type | decode (const encoded_string_view_type &encoded_string) const |
Decodes a string. | |
Public Member Functions inherited from tetengo::text::encoder_base | |
virtual | ~encoder_base ()=0 |
Destroys the encoder base. | |
Static Public Member Functions | |
static const encoder & | instance () |
Returns the instance. | |
An encoder.
Encoding | An encoding type. |
|
inline |
Decodes a string.
encoded_string | An encoded string. |
|
inline |
Encodes a string.
string_ | A string. |
|
inlinestatic |
Returns the instance.