abstract class MemoryOp
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
MemoryOp.BooleanOp |
(package private) static class |
MemoryOp.Float32 |
(package private) static class |
MemoryOp.Float64 |
(package private) static class |
MemoryOp.Mapped |
(package private) static class |
MemoryOp.PointerOp |
(package private) static class |
MemoryOp.PrimitiveOp |
(package private) static class |
MemoryOp.Signed16 |
(package private) static class |
MemoryOp.Signed16Swapped |
(package private) static class |
MemoryOp.Signed32 |
(package private) static class |
MemoryOp.Signed32Swapped |
(package private) static class |
MemoryOp.Signed64 |
(package private) static class |
MemoryOp.Signed64Swapped |
(package private) static class |
MemoryOp.Signed8 |
(package private) static class |
MemoryOp.StructOp |
(package private) static class |
MemoryOp.Unsigned16 |
(package private) static class |
MemoryOp.Unsigned16Swapped |
(package private) static class |
MemoryOp.Unsigned32 |
(package private) static class |
MemoryOp.Unsigned32Swapped |
(package private) static class |
MemoryOp.Unsigned64 |
(package private) static class |
MemoryOp.Unsigned64Swapped |
(package private) static class |
MemoryOp.Unsigned8 |
| Modifier and Type | Field and Description |
|---|---|
static MemoryOp |
BOOL |
static MemoryOp |
FLOAT32 |
static MemoryOp |
FLOAT64 |
static MemoryOp |
INT16 |
static MemoryOp |
INT16SWAP |
static MemoryOp |
INT32 |
static MemoryOp |
INT32SWAP |
static MemoryOp |
INT64 |
static MemoryOp |
INT64SWAP |
static MemoryOp |
INT8 |
static MemoryOp |
POINTER |
static MemoryOp |
UINT16 |
static MemoryOp |
UINT16SWAP |
static MemoryOp |
UINT32 |
static MemoryOp |
UINT32SWAP |
static MemoryOp |
UINT64 |
static MemoryOp |
UINT64SWAP |
static MemoryOp |
UINT8 |
| Constructor and Description |
|---|
MemoryOp() |
| Modifier and Type | Method and Description |
|---|---|
(package private) IRubyObject |
get(ThreadContext context,
AbstractMemory ptr,
long offset) |
(package private) abstract IRubyObject |
get(ThreadContext context,
MemoryIO io,
long offset) |
static MemoryOp |
getMemoryOp(NativeType type) |
static MemoryOp |
getMemoryOp(NativeType type,
java.nio.ByteOrder order) |
static MemoryOp |
getMemoryOp(Type type) |
static MemoryOp |
getMemoryOp(Type type,
java.nio.ByteOrder order) |
(package private) void |
put(ThreadContext context,
AbstractMemory ptr,
long offset,
IRubyObject value) |
(package private) abstract void |
put(ThreadContext context,
MemoryIO io,
long offset,
IRubyObject value) |
public static final MemoryOp BOOL
public static final MemoryOp INT8
public static final MemoryOp UINT8
public static final MemoryOp INT16
public static final MemoryOp UINT16
public static final MemoryOp INT32
public static final MemoryOp UINT32
public static final MemoryOp INT64
public static final MemoryOp UINT64
public static final MemoryOp FLOAT32
public static final MemoryOp FLOAT64
public static final MemoryOp INT16SWAP
public static final MemoryOp UINT16SWAP
public static final MemoryOp INT32SWAP
public static final MemoryOp UINT32SWAP
public static final MemoryOp INT64SWAP
public static final MemoryOp UINT64SWAP
public static final MemoryOp POINTER
public static MemoryOp getMemoryOp(NativeType type)
public static MemoryOp getMemoryOp(NativeType type, java.nio.ByteOrder order)
abstract IRubyObject get(ThreadContext context, MemoryIO io, long offset)
abstract void put(ThreadContext context, MemoryIO io, long offset, IRubyObject value)
IRubyObject get(ThreadContext context, AbstractMemory ptr, long offset)
void put(ThreadContext context, AbstractMemory ptr, long offset, IRubyObject value)