#ifndef SIMDJSON_FUZZUTILS_H #define SIMDJSON_FUZZUTILS_H #include // view data as a byte pointer template inline const std::uint8_t* as_bytes(const T* data) { return static_cast(static_cast(data)); } // view data as a char pointer template inline const char* as_chars(const T* data) { return static_cast(static_cast(data)); } #endif // SIMDJSON_FUZZUTILS_H