1#ifndef SIMDUTF_ENCODING_TYPES_H
2#define SIMDUTF_ENCODING_TYPES_H
18enum endianness { LITTLE = 0, BIG = 1 };
20bool match_system(endianness e);
22std::string to_string(encoding_type bom);
34encoding_type check_bom(
const uint8_t *
byte,
size_t length);
35encoding_type check_bom(
const char *
byte,
size_t length);
42size_t bom_byte_size(encoding_type bom);