Package jnr.ffi.provider
Class NullMemoryIO
- java.lang.Object
-
- jnr.ffi.Pointer
-
- jnr.ffi.provider.AbstractMemoryIO
-
- jnr.ffi.provider.InAccessibleMemoryIO
-
- jnr.ffi.provider.NullMemoryIO
-
public final class NullMemoryIO extends InAccessibleMemoryIO
-
-
Constructor Summary
Constructors Constructor Description NullMemoryIO(Runtime runtime)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.NullPointerException
error()
long
size()
Gets the size of this memory object in bytes (optional operation).-
Methods inherited from class jnr.ffi.provider.InAccessibleMemoryIO
array, arrayLength, arrayOffset, 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 Detail
-
NullMemoryIO
public NullMemoryIO(Runtime runtime)
-
-
Method Detail
-
error
protected final java.lang.NullPointerException error()
- Overrides:
error
in classInAccessibleMemoryIO
-
-