|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use MemoryIO | |
|---|---|
| org.jruby.ext.ffi | |
| org.jruby.ext.ffi.jffi | |
| Uses of MemoryIO in org.jruby.ext.ffi |
|---|
| Subinterfaces of MemoryIO in org.jruby.ext.ffi | |
|---|---|
interface |
AllocatedDirectMemoryIO
|
interface |
DirectMemoryIO
|
| Classes in org.jruby.ext.ffi that implement MemoryIO | |
|---|---|
class |
ArrayMemoryIO
|
class |
FreedMemoryIO
|
class |
InvalidMemoryIO
An implementation of MemoryIO that throws an exception on any access. |
class |
NullMemoryIO
An implementation of MemoryIO that throws an exception on any access. |
class |
SwappedMemoryIO
|
| Fields in org.jruby.ext.ffi declared as MemoryIO | |
|---|---|
protected MemoryIO |
AbstractMemory.io
The Memory I/O object |
| Methods in org.jruby.ext.ffi that return MemoryIO | |
|---|---|
MemoryIO |
InvalidMemoryIO.dup()
|
MemoryIO |
MemoryIO.dup()
Duplicates this MemoryIO, including its contents. |
MemoryIO |
AbstractMemory.getMemoryIO()
Gets the memory I/O accessor to read/write to the memory area. |
protected MemoryIO |
AbstractMemory.setMemoryIO(MemoryIO io)
Replaces the native memory object backing this ruby memory object |
MemoryIO |
InvalidMemoryIO.slice(long offset)
|
MemoryIO |
MemoryIO.slice(long offset)
Creates a new MemoryIO pointing to a subset of the memory area of this MemoryIO. |
MemoryIO |
InvalidMemoryIO.slice(long offset,
long size)
|
MemoryIO |
MemoryIO.slice(long offset,
long size)
Creates a new MemoryIO pointing to a subset of the memory area of this MemoryIO. |
| Methods in org.jruby.ext.ffi with parameters of type MemoryIO | |
|---|---|
static IRubyObject |
MemoryUtil.getArrayOfFloat32(Ruby runtime,
MemoryIO io,
long offset,
int count)
|
static IRubyObject |
MemoryUtil.getArrayOfFloat64(Ruby runtime,
MemoryIO io,
long offset,
int count)
|
static IRubyObject |
MemoryUtil.getArrayOfSigned16(Ruby runtime,
MemoryIO io,
long offset,
int count)
|
static IRubyObject |
MemoryUtil.getArrayOfSigned32(Ruby runtime,
MemoryIO io,
long offset,
int count)
|
static IRubyObject |
MemoryUtil.getArrayOfSigned64(Ruby runtime,
MemoryIO io,
long offset,
int count)
|
static IRubyObject |
MemoryUtil.getArrayOfSigned8(Ruby runtime,
MemoryIO io,
long offset,
int count)
|
static IRubyObject |
MemoryUtil.getArrayOfUnsigned16(Ruby runtime,
MemoryIO io,
long offset,
int count)
|
static IRubyObject |
MemoryUtil.getArrayOfUnsigned32(Ruby runtime,
MemoryIO io,
long offset,
int count)
|
static IRubyObject |
MemoryUtil.getArrayOfUnsigned64(Ruby runtime,
MemoryIO io,
long offset,
int count)
|
static IRubyObject |
MemoryUtil.getArrayOfUnsigned8(Ruby runtime,
MemoryIO io,
long offset,
int count)
|
static RubyString |
MemoryUtil.getTaintedByteString(Ruby runtime,
MemoryIO io,
long offset,
int length)
Reads a byte (binary) string from a memory object. |
static IRubyObject |
MemoryUtil.getTaintedString(Ruby runtime,
MemoryIO io,
long offset)
Gets a NUL terminated string from a memory object |
static IRubyObject |
MemoryUtil.getTaintedString(Ruby runtime,
MemoryIO io,
long offset,
int length)
Reads a NUL terminated string from a memory object |
static void |
MemoryUtil.putArrayOfFloat32(Ruby runtime,
MemoryIO io,
long offset,
RubyArray ary)
|
static void |
MemoryUtil.putArrayOfFloat64(Ruby runtime,
MemoryIO io,
long offset,
RubyArray ary)
|
static void |
MemoryUtil.putArrayOfSigned16(Ruby runtime,
MemoryIO io,
long offset,
RubyArray ary)
|
static void |
MemoryUtil.putArrayOfSigned32(Ruby runtime,
MemoryIO io,
long offset,
RubyArray ary)
|
static void |
MemoryUtil.putArrayOfSigned64(Ruby runtime,
MemoryIO io,
long offset,
RubyArray ary)
|
static void |
MemoryUtil.putArrayOfSigned8(Ruby runtime,
MemoryIO io,
long offset,
RubyArray ary)
|
static void |
MemoryUtil.putArrayOfUnsigned16(Ruby runtime,
MemoryIO io,
long offset,
RubyArray ary)
|
static void |
MemoryUtil.putArrayOfUnsigned32(Ruby runtime,
MemoryIO io,
long offset,
RubyArray ary)
|
static void |
MemoryUtil.putArrayOfUnsigned64(Ruby runtime,
MemoryIO io,
long offset,
RubyArray ary)
|
static void |
MemoryUtil.putArrayOfUnsigned8(Ruby runtime,
MemoryIO io,
long offset,
RubyArray ary)
|
void |
ArrayMemoryIO.putMemoryIO(long offset,
MemoryIO value)
|
void |
InvalidMemoryIO.putMemoryIO(long offset,
MemoryIO value)
|
void |
MemoryIO.putMemoryIO(long offset,
MemoryIO value)
Writes a pointer value to the memory area at the specified offset. |
void |
SwappedMemoryIO.putMemoryIO(long offset,
MemoryIO value)
|
protected MemoryIO |
AbstractMemory.setMemoryIO(MemoryIO io)
Replaces the native memory object backing this ruby memory object |
| Constructors in org.jruby.ext.ffi with parameters of type MemoryIO | |
|---|---|
AbstractMemory(Ruby runtime,
RubyClass klass,
MemoryIO io,
long size)
|
|
AbstractMemory(Ruby runtime,
RubyClass klass,
MemoryIO io,
long size,
int typeSize)
|
|
| Uses of MemoryIO in org.jruby.ext.ffi.jffi |
|---|
| Classes in org.jruby.ext.ffi.jffi that implement MemoryIO | |
|---|---|
class |
CodeMemoryIO
Representation of code (executable) memory blocks |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||