|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jruby.ext.ffi.InvalidMemoryIO
org.jruby.ext.ffi.jffi.CodeMemoryIO
public final class CodeMemoryIO
Representation of code (executable) memory blocks
Field Summary |
---|
Fields inherited from class org.jruby.ext.ffi.InvalidMemoryIO |
---|
runtime |
Constructor Summary | |
---|---|
CodeMemoryIO(Ruby runtime,
long address)
|
|
CodeMemoryIO(Ruby runtime,
Pointer pointer)
|
Method Summary | |
---|---|
long |
getAddress()
|
boolean |
isDirect()
Checks if the memory area is a native memory pointer. |
boolean |
isNull()
Checks if the memory area is NULL. |
Methods inherited from class org.jruby.ext.ffi.InvalidMemoryIO |
---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jruby.ext.ffi.MemoryIO |
---|
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 |
Constructor Detail |
---|
public CodeMemoryIO(Ruby runtime, long address)
public CodeMemoryIO(Ruby runtime, Pointer pointer)
Method Detail |
---|
public long getAddress()
getAddress
in interface DirectMemoryIO
public boolean isDirect()
MemoryIO
isDirect
in interface MemoryIO
public boolean isNull()
MemoryIO
isNull
in interface MemoryIO
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |