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, setMemorycheckBounds, checkBounds, getAddress, getInt, getNativeLong, indexOf, putAddress, putAddress, putInt, putNativeLong, slice, slice, transferFrom, transferToaddress, get, getNullTerminatedPointerArray, getNullTerminatedStringArray, getRuntime, isDirect, newIntPointer, put, toString, wrap, wrap, wrappublic NullMemoryIO(Runtime runtime)
protected final NullPointerException error()
error in class InAccessibleMemoryIOpublic long size()
Pointersize in class PointerPointer points to. If
the size is unknown, Long.MAX_VALUE is returned}.Copyright © 2017. All rights reserved.