Wire Sysio Wire Sysion 1.0.0
|
Classes | |
class | validator |
Provides streaming UTF8 validation functionality. More... | |
Functions | |
uint32_t | decode (uint32_t *state, uint32_t *codep, uint8_t byte) |
Decode the next byte of a UTF8 sequence. | |
bool | validate (std::string const &s) |
Validate a UTF8 string. | |
|
inline |
[out] | state | The decoder state to advance |
[out] | codep | The codepoint to fill in |
[in] | byte | The byte to input |
Definition at line 69 of file utf8_validator.hpp.
|
inline |
convenience function that creates a validator, validates a complete string and returns the result.
Definition at line 143 of file utf8_validator.hpp.