An encoder base.
Definition encoder.hpp:19
virtual ~encoder_base()=0
Destroys the encoder base.
An encoder.
Definition encoder.hpp:37
string_type decode(const encoded_string_view_type &encoded_string) const
Decodes a string.
Definition encoder.hpp:100
typename encoding_type::encoded_string_type encoded_string_type
The encoded string type.
Definition encoder.hpp:51
Encoding encoding_type
The encoding type.
Definition encoder.hpp:42
static const encoder & instance()
Returns the instance.
Definition encoder.hpp:64
encoded_string_type encode(const string_view_type &string_) const
Encodes a string.
Definition encoder.hpp:88
virtual ~encoder()=default
Destroys the encoder.
typename encoding_type::string_type string_type
The string type.
Definition encoder.hpp:45
typename encoding_type::string_view_type string_view_type
The string view type.
Definition encoder.hpp:48
typename encoding_type::encoded_string_view_type encoded_string_view_type
The encoded string view type.
Definition encoder.hpp:54