EHS Embedded HTTP Server
1.5.1.0
|
A validator for UTF-8 strings. More...
#include <wsutf8.h>
Public Member Functions | |
validator () | |
Constuctor. | |
bool | consume (uint32_t byte) |
Validate a single UTF-8 character. More... | |
template<typename iterator_type > | |
bool | decode (iterator_type b, iterator_type e) |
Validate a range of UTF-8 characters. More... | |
bool | complete () |
Retrieve validator state. More... | |
void | reset () |
Reset the validator state. | |
|
inline |
Retrieve validator state.
Definition at line 88 of file wsutf8.h.
Referenced by validator::reset().
|
inline |
|
inline |
Validate a range of UTF-8 characters.
b | Iterator, pointing to the start of the sequence, |
e | Iterator, pointing to the end of the sequence. |
Definition at line 75 of file wsutf8.h.
Referenced by validator::reset().