The read1 method of the DllLib class contains the following signatures:
read1(Object ptr, int ofs)
read1(int ptr, int ofs)
read1(int ptr)
Reads one byte of data from the memory location that is specified by a base address and an offset.
public static native byte read1(Object ptr, int ofs);
Returns the byte that is read.
ptr | The base address to write to. |
ofs | The offset from the base address. |
Reads one byte of data from the memory location that is specified by a base address and an offset.
public static native byte read1(int ptr, int ofs);
Returns the byte that is read.
ptr | The base address to write to. |
ofs | The offset from the base address. |
Reads a byte from a specified memory location.
public static byte read1(int ptr);
Returns the byte that is read.
ptr | The address in memory where the byte to be read is located. |