MCPcopy Create free account
hub / github.com/DFHack/dfhack / readSTLString

Function readSTLString

library/include/MemAccess.h:182–186  ·  view source on GitHub ↗

read an STL string

Source from the content-addressed store, hash-verified

180
181 /// read an STL string
182 const std::string readSTLString(void* offset)
183 {
184 std::string* str = (std::string*)offset;
185 return *str;
186 };
187 /// read an STL string
188 size_t readSTLString(void* offset, char* buffer, size_t bufcapacity)
189 {

Callers

nothing calls this directly

Calls 1

copyMethod · 0.80

Tested by

no test coverage detected