public final class CodeMemoryIO extends InvalidMemoryIO implements DirectMemoryIO
runtime
Constructor and Description |
---|
CodeMemoryIO(Ruby runtime,
long address) |
CodeMemoryIO(Ruby runtime,
Pointer pointer) |
Modifier and Type | Method and Description |
---|---|
long |
getAddress() |
boolean |
isDirect()
Checks if the memory area is a native memory pointer.
|
boolean |
isNull()
Checks if the memory area is NULL.
|
asByteBuffer, clear, dup, ex, get, get, get, get, get, get, getAddress, getByte, getDouble, getErrorClass, getFloat, getInt, getLong, getMemoryIO, getNativeLong, getShort, getZeroTerminatedByteArray, getZeroTerminatedByteArray, indexOf, indexOf, order, put, put, put, put, put, put, putAddress, putByte, putDouble, putFloat, putInt, putLong, putMemoryIO, putNativeLong, putShort, putZeroTerminatedByteArray, setMemory, slice, slice
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asByteBuffer, dup, get, get, get, get, get, get, getAddress, getByte, getDouble, getFloat, getInt, getLong, getMemoryIO, getNativeLong, getShort, getZeroTerminatedByteArray, getZeroTerminatedByteArray, indexOf, indexOf, order, put, put, put, put, put, put, putAddress, putByte, putDouble, putFloat, putInt, putLong, putMemoryIO, putNativeLong, putShort, putZeroTerminatedByteArray, setMemory, slice, slice
public CodeMemoryIO(Ruby runtime, long address)
public long getAddress()
getAddress
in interface DirectMemoryIO
public boolean isDirect()
MemoryIO
Copyright © 2002-2009 JRuby Team. All Rights Reserved.