#include <temu-c/Memory/Memory.h>
Data Fields | |
void(* | readBytes )(void *Obj, void *Dest, uint64_t Offs, uint32_t Size, int Swap) |
void(* | writeBytes )(void *Obj, uint64_t Offs, uint32_t Size, void *Src, int Swap) |
The swap argument is used to swap bytes to the host endianess. Specify the log size of the read data types. 0: We are reading bytes (bytes will be in target memory order) 1: We are reading half words (will be swapped to host order) 2: We are reading words (will be swapped) 3: We are reading double words (will be swapped) With 0 for swap, we are basically reading a byte array
Definition at line 100 of file Memory.h.
void(* temu_MemoryIface::readBytes)(void *Obj, void *Dest, uint64_t Offs, uint32_t Size, int Swap) |
void(* temu_MemoryIface::writeBytes)(void *Obj, uint64_t Offs, uint32_t Size, void *Src, int Swap) |