1 // © 2019 and later: Unicode, Inc. and others. 2 // License & terms of use: http://www.unicode.org/copyright.html 3 4 #ifndef I18N_ICU_FUZZ_LOCALE_UTIL_H_ 5 #define I18N_ICU_FUZZ_LOCALE_UTIL_H_ 6 7 #include <string> 8 9 // Takes uint8_t data from fuzzer, and makes a zero terminated string. 10 std::string MakeZeroTerminatedInput(const uint8_t* data, int32_t size); 11 12 #endif // I18N_ICU_FUZZ_LOCALE_UTIL_H_ 13