Read a null‐terminated string from offset in the file or mapped file into writeSpan and return a string_view to the string. If we run out of room in writeSpan, reach end of file, or reach end of mapped area, return a non‐null‐terminated string_view. The behavior is undefined unless !outSpan.empty() and offset >= 0. Note that the returned string_view never contains the terminating 0.

Synopsis

Declared in <balst_resolver_filehelper.h>

std::string_view
loadString(
    Span const& writeSpan,
    Offset offset) const;

Created with MrDocs