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

Function read

library/include/MemAccess.h:171–174  ·  view source on GitHub ↗

read an arbitrary amount of bytes

Source from the content-addressed store, hash-verified

169
170 /// read an arbitrary amount of bytes
171 void read(void* address, uint32_t length, uint8_t* buffer)
172 {
173 memcpy(buffer, (void*)address, length);
174 };
175 /// write an arbitrary amount of bytes
176 void write(void* address, uint32_t length, uint8_t* buffer)
177 {

Callers 8

handle_signal_internalFunction · 0.85
ProcessMethod · 0.85
lua_readMethod · 0.85
read_charMethod · 0.85
CommunicateMethod · 0.85
ReadMethod · 0.85
parse_from_istreamMethod · 0.85
readMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected