| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static IRubyObject | |
| public static IRubyObject | |
| public static IRubyObject | |
| public static IRubyObject | |
| public static IRubyObject | |
| public static IRubyObject | |
| public static IRubyObject | |
| public static IRubyObject | |
| public static IRubyObject | |
| public static IRubyObject | |
| public static RubyString | Returns: A ruby stringThe ruby runtime runtime, MemoryIO The memory object to read the string from io, long The offset within the memory object to start reading offset, int The number of bytes to read length)Reads a byte (binary) string from a memory object. |
| public static IRubyObject | Returns: A ruby stringThe ruby runtime runtime, MemoryIO The memory object to read the string from io, long The offset within the memory object to start reading offset)Gets a NUL terminated string from a memory object |
| public static IRubyObject | Returns: A ruby stringThe ruby runtime runtime, MemoryIO The memory object to read the string from io, long The offset within the memory object to start reading offset, int The maximum number of bytes to read length)Reads a NUL terminated string from a memory object |
| public static RubyString | Returns: A ruby string.The ruby runtime runtime, byte[] The array to make into a ruby string. bytes)Creates a ruby string from a byte array |
| public static void | putArrayOfFloat32(MemoryIO io, long offset, RubyArray<T extends IRubyObject> ary)
Deprecated
since 10.0.
|
| public static void | putArrayOfFloat32(ThreadContext context, MemoryIO io, long offset, RubyArray<T extends IRubyObject> ary)
|
| public static void | putArrayOfFloat64(MemoryIO io, long offset, RubyArray<T extends IRubyObject> ary)
Deprecated
since 10.0.
|
| public static void | putArrayOfFloat64(ThreadContext context, MemoryIO io, long offset, RubyArray<T extends IRubyObject> ary)
|
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void |
| MemoryUtil | back to summary |
|---|---|
| private MemoryUtil() | |
| getArrayOfFloat32 | back to summary |
|---|---|
| public static IRubyObject getArrayOfFloat32(ThreadContext context, MemoryIO io, long offset, int count) | |
| getArrayOfFloat64 | back to summary |
|---|---|
| public static IRubyObject getArrayOfFloat64(ThreadContext context, MemoryIO io, long offset, int count) | |
| getArrayOfSigned16 | back to summary |
|---|---|
| public static IRubyObject getArrayOfSigned16(ThreadContext context, MemoryIO io, long offset, int count) | |
| getArrayOfSigned32 | back to summary |
|---|---|
| public static IRubyObject getArrayOfSigned32(ThreadContext context, MemoryIO io, long offset, int count) | |
| getArrayOfSigned64 | back to summary |
|---|---|
| public static IRubyObject getArrayOfSigned64(ThreadContext context, MemoryIO io, long offset, int count) | |
| getArrayOfSigned8 | back to summary |
|---|---|
| public static IRubyObject getArrayOfSigned8(ThreadContext context, MemoryIO io, long offset, int count) | |
| getArrayOfUnsigned16 | back to summary |
|---|---|
| public static IRubyObject getArrayOfUnsigned16(ThreadContext context, MemoryIO io, long offset, int count) | |
| getArrayOfUnsigned32 | back to summary |
|---|---|
| public static IRubyObject getArrayOfUnsigned32(ThreadContext context, MemoryIO io, long offset, int count) | |
| getArrayOfUnsigned64 | back to summary |
|---|---|
| public static IRubyObject getArrayOfUnsigned64(ThreadContext context, MemoryIO io, long offset, int count) | |
| getArrayOfUnsigned8 | back to summary |
|---|---|
| public static IRubyObject getArrayOfUnsigned8(ThreadContext context, MemoryIO io, long offset, int count) | |
| getTaintedByteString | back to summary |
|---|---|
| public static RubyString getTaintedByteString(Ruby runtime, MemoryIO io, long offset, int length) Reads a byte (binary) string from a memory object.
| |
| getTaintedString | back to summary |
|---|---|
| public static IRubyObject getTaintedString(Ruby runtime, MemoryIO io, long offset) Gets a NUL terminated string from a memory object
| |
| getTaintedString | back to summary |
|---|---|
| public static IRubyObject getTaintedString(Ruby runtime, MemoryIO io, long offset, int length) Reads a NUL terminated string from a memory object
| |
| newTaintedString | back to summary |
|---|---|
| public static RubyString newTaintedString(Ruby runtime, byte[] bytes) Creates a ruby string from a byte array
| |
| putArrayOfFloat32 | back to summary |
|---|---|
| public static void putArrayOfFloat32(MemoryIO io, long offset, RubyArray<T extends IRubyObject> ary)
Deprecated since 10.0.
| |
| putArrayOfFloat32 | back to summary |
|---|---|
| public static void putArrayOfFloat32(ThreadContext context, MemoryIO io, long offset, RubyArray<T extends IRubyObject> ary) | |
| putArrayOfFloat64 | back to summary |
|---|---|
| public static void putArrayOfFloat64(MemoryIO io, long offset, RubyArray<T extends IRubyObject> ary)
Deprecated since 10.0.
| |
| putArrayOfFloat64 | back to summary |
|---|---|
| public static void putArrayOfFloat64(ThreadContext context, MemoryIO io, long offset, RubyArray<T extends IRubyObject> ary) | |
| putArrayOfSigned16 | back to summary |
|---|---|
| public static void putArrayOfSigned16(MemoryIO io, long offset, RubyArray<T extends IRubyObject> ary) | |
| putArrayOfSigned32 | back to summary |
|---|---|
| public static void putArrayOfSigned32(MemoryIO io, long offset, RubyArray<T extends IRubyObject> ary) | |
| putArrayOfSigned64 | back to summary |
|---|---|
| public static void putArrayOfSigned64(MemoryIO io, long offset, RubyArray<T extends IRubyObject> ary) | |
| putArrayOfSigned8 | back to summary |
|---|---|
| public static void putArrayOfSigned8(MemoryIO io, long offset, RubyArray<T extends IRubyObject> ary) | |
| putArrayOfUnsigned16 | back to summary |
|---|---|
| public static void putArrayOfUnsigned16(MemoryIO io, long offset, RubyArray<T extends IRubyObject> ary) | |
| putArrayOfUnsigned32 | back to summary |
|---|---|
| public static void putArrayOfUnsigned32(MemoryIO io, long offset, RubyArray<T extends IRubyObject> ary) | |
| putArrayOfUnsigned64 | back to summary |
|---|---|
| public static void putArrayOfUnsigned64(MemoryIO io, long offset, RubyArray<T extends IRubyObject> ary) | |
| putArrayOfUnsigned8 | back to summary |
|---|---|
| public static void putArrayOfUnsigned8(MemoryIO io, long offset, RubyArray<T extends IRubyObject> ary) | |