public abstract static class ClosureFromNativeConverter.AbstractClosurePointer extends InAccessibleMemoryIO
Modifier and Type | Field and Description |
---|---|
static com.kenai.jffi.Invoker |
ffi |
protected long |
functionAddress |
Modifier | Constructor and Description |
---|---|
protected |
AbstractClosurePointer(Runtime runtime,
long functionAddress) |
Modifier and Type | Method and Description |
---|---|
long |
size()
Gets the size of this memory object in bytes (optional operation).
|
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
checkBounds, checkBounds, getAddress, getInt, getNativeLong, indexOf, putAddress, putAddress, putInt, putNativeLong, slice, slice, transferFrom, transferTo
address, get, getNullTerminatedPointerArray, getNullTerminatedStringArray, getRuntime, isDirect, newIntPointer, put, toString, wrap, wrap, wrap
public static final com.kenai.jffi.Invoker ffi
protected final long functionAddress
protected AbstractClosurePointer(Runtime runtime, long functionAddress)
public final long size()
Pointer
size
in class Pointer
Pointer
points to. If
the size is unknown, Long.MAX_VALUE
is returned}.Copyright © 2017. All rights reserved.