Package | Description |
---|---|
org.jruby.ext.ffi | |
org.jruby.ext.ffi.jffi |
Modifier and Type | Interface and Description |
---|---|
interface |
AllocatedDirectMemoryIO |
interface |
DirectMemoryIO |
Modifier and Type | Class and Description |
---|---|
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 |
Modifier and Type | Field and Description |
---|---|
protected MemoryIO |
AbstractMemory.io
The Memory I/O object
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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
|
Constructor and Description |
---|
AbstractMemory(Ruby runtime,
RubyClass klass,
MemoryIO io,
long size) |
AbstractMemory(Ruby runtime,
RubyClass klass,
MemoryIO io,
long size,
int typeSize) |
Modifier and Type | Class and Description |
---|---|
class |
CodeMemoryIO
Representation of code (executable) memory blocks
|
Copyright © 2002-2009 JRuby Team. All Rights Reserved.