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

Function readCString

library/include/MemAccess.h:231–234  ·  view source on GitHub ↗

read a null-terminated C string

Source from the content-addressed store, hash-verified

229
230 /// read a null-terminated C string
231 const std::string readCString(void* offset)
232 {
233 return std::string((char*)offset);
234 };
235
236 /// @return true if the process is suspended
237 bool isSuspended()

Callers 1

doReadClassNameMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected