Incrementally validate a byte stream as UTF-8.
More...
#include <file_archive.h>
|
|
| Utf8Validator (bool reject_nul) |
| | Construct a validator, optionally rejecting embedded NUL bytes.
|
| |
|
void | Consume (std::span< const std::byte > bytes) |
| | Consume the next contiguous chunk of the byte stream.
|
| |
|
bool | valid () const |
| | Return whether all consumed bytes form complete valid UTF-8.
|
| |
Incrementally validate a byte stream as UTF-8.
The documentation for this class was generated from the following file: