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