Microsoft SDK for Java

read8

The read8 method of the DllLib class contains the following signatures:

read8(Object ptr, int ofs)
read8(int ptr, int ofs)
read8(int ptr)

read8(Object ptr, int ofs)

Reads eight bytes of data from the memory location that is specified by a base address and an offset.

Syntax

public static native long read8(Object ptr, int ofs);

Return Value

Returns the bytes that are read.

ptr The base address to write to.
ofs The offset from the base address.

read8(int ptr, int ofs)

Reads eight bytes of data from the memory location that is specified by a base address and an offset.

Syntax

public static native long read8(int ptr, int ofs);

Return Value

Returns the bytes that are read.

Parameters

ptr The base address to write to.
ofs The offset from the base address.

read8(int ptr)

Reads a long integer from a specified memory location.

Syntax

public static long read8(int ptr);

Return Value

Returns the long integer that is read.

Parameters

ptr The base address to write to.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.