MCPcopy Create free account
hub / github.com/OpenByteDev/dll-syringe / read_struct

Method read_struct

src/process/memory/buffer.rs:320–326  ·  view source on GitHub ↗

Reads a value of type `T` from this buffer starting from the given offset. # Panics This function will panic if the given offset plus the size of the value exceeds this buffer's length. # Safety The caller must ensure that the designated region of memory contains a valid instance of type `T` at the given offset.

(&self, offset: usize)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

readMethod · 0.80

Calls 1

readMethod · 0.45

Tested by

no test coverage detected