[#BloombergLP-balst-Resolver_FileHelper-loadString] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balst.adoc[balst]::xref:BloombergLP/balst/Resolver_FileHelper.adoc[Resolver_FileHelper]::loadString :relfileprefix: ../../../ :mrdocs: 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>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::string_view loadString( xref:BloombergLP/balst/Resolver_FileHelper.adoc[Span] const& writeSpan, xref:BloombergLP/balst/Resolver_FileHelper/Offset.adoc[Offset] offset) const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#