public final class NullMemoryIO extends InAccessibleMemoryIO
构造器和说明 |
---|
NullMemoryIO(Runtime runtime) |
限定符和类型 | 方法和说明 |
---|---|
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
在类中 InAccessibleMemoryIO
public long size()
Pointer
size
在类中 Pointer
Pointer
points to. If
the size is unknown, Long.MAX_VALUE
is returned}.Copyright © 2021. All rights reserved.