mirror of
https://github.com/simdjson/simdjson
synced 2026-06-08 17:27:07 +00:00
21 lines
460 B
C++
21 lines
460 B
C++
#ifndef SIMDJSON_SIMDUTF8CHECK_H
|
|
#define SIMDJSON_SIMDUTF8CHECK_H
|
|
|
|
#include "simdjson/simdjson.h"
|
|
#include "simdjson/simd_input.h"
|
|
|
|
namespace simdjson {
|
|
|
|
// Checks UTF8, chunk by chunk.
|
|
template <Architecture T>
|
|
struct utf8_checker {
|
|
// Process the next chunk of input.
|
|
void check_next_input(simd_input<T> in);
|
|
// Find out what (if any) errors have occurred
|
|
ErrorValues errors();
|
|
};
|
|
|
|
} // namespace simdjson
|
|
|
|
#endif // SIMDJSON_SIMDUTF8CHECK_H
|