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

Function write

library/include/MemAccess.h:176–179  ·  view source on GitHub ↗

write an arbitrary amount of bytes

Source from the content-addressed store, hash-verified

174 };
175 /// write an arbitrary amount of bytes
176 void write(void* address, uint32_t length, uint8_t* buffer)
177 {
178 memcpy((void*)address, buffer, length);
179 };
180
181 /// read an STL string
182 const std::string readSTLString(void* offset)

Callers 8

signal_crashlog_completeFunction · 0.50
lua_writeMethod · 0.50
clearMethod · 0.50
colorMethod · 0.50
prompt_refreshMethod · 0.50
prompt_loopMethod · 0.50
serialize_to_ostreamMethod · 0.50
writeMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected