12#include "../string_func.h"
16#include "../safeguards.h"
25 if (!buf.HasData())
return;
Class to read from a NewGRF file.
std::string_view ReadString()
Read a NUL-terminated string.
NewGRF buffer reader definition.
NewGRF internal processing state.
static void StrMakeValid(Builder &builder, StringConsumer &consumer, StringValidationSettings settings)
Copies the valid (UTF-8) characters from consumer to the builder.