Package jnr.ffi.provider
Class IntPointer
java.lang.Object
jnr.ffi.Pointer
jnr.ffi.provider.AbstractMemoryIO
jnr.ffi.provider.InAccessibleMemoryIO
jnr.ffi.provider.IntPointer
-
Constructor Summary
ConstructorsConstructorDescriptionIntPointer
(Runtime runtime, int address) IntPointer
(Runtime runtime, long address) -
Method Summary
Methods inherited from class jnr.ffi.provider.InAccessibleMemoryIO
array, arrayLength, arrayOffset, error, get, get, get, get, get, get, getByte, getDouble, getFloat, getInt, getLong, getLongLong, getPointer, getPointer, getShort, getString, getString, hasArray, indexOf, put, put, put, put, put, put, putByte, putDouble, putFloat, putInt, putLong, putLongLong, putPointer, putShort, putString, setMemory
Methods inherited from class jnr.ffi.provider.AbstractMemoryIO
checkBounds, checkBounds, getAddress, getInt, getNativeLong, indexOf, putAddress, putAddress, putInt, putNativeLong, slice, slice, transferFrom, transferTo
Methods inherited from class jnr.ffi.Pointer
address, get, getNullTerminatedPointerArray, getNullTerminatedStringArray, getRuntime, isDirect, newIntPointer, put, toString, wrap, wrap, wrap
-
Constructor Details
-
IntPointer
-
IntPointer
-
-
Method Details
-
size
public long size()Description copied from class:Pointer
Gets the size of this memory object in bytes (optional operation).- Specified by:
size
in classPointer
- Returns:
- the size of the memory area this
Pointer
points to. If the size is unknown,Long.MAX_VALUE
is returned}.
-
hashCode
public int hashCode() -
equals
-