public final class NullMemoryIO extends InAccessibleMemoryIO
Constructor and Description |
---|
NullMemoryIO(Runtime runtime) |
Modifier and Type | Method and Description |
---|---|
protected NullPointerException |
error() |
long |
size()
Gets the size of this memory object in bytes (optional operation).
|
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
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 NullMemoryIO(Runtime runtime)
protected final NullPointerException error()
error
in class InAccessibleMemoryIO
public 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.