The write4 method of the DllLib class contains the following signatures:
write4(Object ptr, int ofs, int val)
write4(int ptr, int ofs, int val)
write4(int ptr, int val)
Writes four bytes of data to the memory location that is specified by a base address and an offset.
public static native void write4(Object ptr, int ofs, int val);
ptr | The base address to write to. |
ofs | The offset from the base address. |
val | The value to write. |
Writes four bytes of data to the memory location that is specified by a base address and an offset.
public static native void write4(int ptr, int ofs, int val);
ptr | The base address to write to. |
ofs | The offset from the base address. |
val | The value to write. |
Writes an integer to the specified memory location.
public static void write4(int ptr, int val);
ptr | The address in memory where the integer will be written. |
val | The value to write. |