Package org.jruby.ext.ffi.jffi
Class DynamicLibrary.TextSymbolMemoryIO
java.lang.Object
org.jruby.ext.ffi.MemoryIO
org.jruby.ext.ffi.InvalidMemoryIO
org.jruby.ext.ffi.jffi.DynamicLibrary.TextSymbolMemoryIO
- Enclosing class:
- DynamicLibrary
Since the text area of a dynamic library is usually not readable nor writable,
wrap the address in a MemoryIO instance that throws an exception on all accesses
-
Field Summary
FieldsFields inherited from class org.jruby.ext.ffi.InvalidMemoryIO
runtime -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.jruby.ext.ffi.InvalidMemoryIO
array, arrayLength, arrayOffset, 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
-
Field Details
-
library
-
-
Constructor Details
-
TextSymbolMemoryIO
-