Package com.sun.jna
Class PointerProxy
java.lang.Object
com.sun.jna.Pointer
com.sun.jna.PointerProxy
public class PointerProxy
extends com.sun.jna.Pointer
PointerProxy is a Pointer wrapper that can access to the peer value of the pointer.-
Field Summary
Fields inherited from class com.sun.jna.Pointer
NULL, peer -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.sun.jna.Pointer
clear, createConstant, createConstant, dump, equals, getByte, getByteArray, getByteBuffer, getChar, getCharArray, getDouble, getDoubleArray, getFloat, getFloatArray, getInt, getIntArray, getLong, getLongArray, getNativeLong, getPointer, getPointerArray, getPointerArray, getShort, getShortArray, getString, getString, getStringArray, getStringArray, getStringArray, getStringArray, getWideString, getWideStringArray, getWideStringArray, hashCode, indexOf, nativeValue, nativeValue, read, read, read, read, read, read, read, read, setByte, setChar, setDouble, setFloat, setInt, setLong, setMemory, setNativeLong, setPointer, setShort, setString, setString, setString, setWideString, share, share, toString, write, write, write, write, write, write, write, write
-
Constructor Details
-
PointerProxy
public PointerProxy(com.sun.jna.Pointer ptr) Creates from native pointer. Don't use this unless you know what you're doing.- Parameters:
ptr- the target pointer
-
-
Method Details
-
getPeer
public long getPeer()Gets peer value from thePointer. /- Returns:
- peer value in long
-