27 iterator(
const char* start,
char* value);
93 const char*
c_str()
const;
97 std::vector<char> _buffer;
unsigned int unicode_t
Definition: utf8rewind.h:27
Read-only class for stepping through a Utf8String instance.
Definition: utf8string.hpp:15
size_t size() const
Get the size in bytes of the container.
bool empty() const
Check if the string is empty.
unicode_t operator*() const
Get the codepoint the iterator is currently pointing at.
Functions for working with UTF-8 encoded text.
void clear()
Clear the string.
iterator end()
Get an iterator for the end of the string.
Utf8String & operator=(const Utf8String &other)
const char * c_str() const
Get a pointer to the string's data.
iterator begin()
Get an iterator for the start of the string.
size_t length() const
Get the length in codepoints.
Class for managing UTF-8 encoded text.
Definition: utf8string.hpp:9