|
tetengo 1.8.2
A multipurpose library set
|
An encoder. More...
#include <encoder.hpp>
Inheritance diagram for tetengo::text::encoder< Encoding >:
Collaboration diagram for tetengo::text::encoder< Encoding >: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. |
|
inlinenodiscard |
Decodes a string.
| encoded_string | An encoded string. |
|
inlinenodiscard |
Encodes a string.
| string_ | A string. |
|
inlinestaticnodiscard |
Returns the instance.