| Modifier and Type | Field and Description |
|---|---|
| private static final BigInteger |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static final void | |
| public static final <T> T | |
| public static final double | |
| public static final double | |
| public static Type | |
| public static Type | |
| public static final float | |
| public static final float | |
| public static final short | |
| public static final int | |
| public static final long | |
| public static final byte | |
| public static int | |
| public static final long | |
| public static final IRubyObject | |
| public static final IRubyObject | |
| public static final IRubyObject | |
| public static final IRubyObject | |
| public static final IRubyObject | |
| public static final IRubyObject | |
| public static final IRubyObject | |
| public static final IRubyObject | |
| public static ByteOrder | |
| public static int | |
| public static final ByteBuffer | |
| public static final int | |
| public static final long | |
| public static final long | |
| public static final short | |
| public static final long |
| UINT64_BASE | back to summary |
|---|---|
| private static final BigInteger UINT64_BASE | |
| Util | back to summary |
|---|---|
| private Util() | |
| checkBounds | back to summary |
|---|---|
| public static final void checkBounds(Ruby runtime, long size, long off, long len) | |
| convertParameter | back to summary |
|---|---|
| public static final <T> T convertParameter(IRubyObject parameter, Class<T> paramClass)
Deprecated
| |
| doubleValue | back to summary |
|---|---|
| public static final double doubleValue(IRubyObject parameter)
Deprecated since 10.0.
| |
| doubleValue | back to summary |
|---|---|
| public static final double doubleValue(ThreadContext context, IRubyObject parameter) | |
| findType | back to summary |
|---|---|
| public static Type findType(ThreadContext context, IRubyObject name) | |
| findType | back to summary |
|---|---|
| public static Type findType(ThreadContext context, IRubyObject name, IRubyObject typeMap) | |
| floatValue | back to summary |
|---|---|
| public static final float floatValue(IRubyObject parameter)
Deprecated since 10.0.
| |
| floatValue | back to summary |
|---|---|
| public static final float floatValue(ThreadContext context, IRubyObject parameter) | |
| int16Value | back to summary |
|---|---|
| public static final short int16Value(IRubyObject parameter) | |
| int32Value | back to summary |
|---|---|
| public static final int int32Value(IRubyObject parameter) | |
| int64Value | back to summary |
|---|---|
| public static final long int64Value(IRubyObject parameter) | |
| int8Value | back to summary |
|---|---|
| public static final byte int8Value(IRubyObject parameter) | |
| intValue | back to summary |
|---|---|
| public static int intValue(IRubyObject obj, RubyHash enums)
Deprecated since 10.0.
| |
| longValue | back to summary |
|---|---|
| public static final long longValue(IRubyObject parameter) Converts characters like 'a' or 't' to an integer value | |
| newSigned16 | back to summary |
|---|---|
| public static final IRubyObject newSigned16(Ruby runtime, short value) | |
| newSigned32 | back to summary |
|---|---|
| public static final IRubyObject newSigned32(Ruby runtime, int value) | |
| newSigned64 | back to summary |
|---|---|
| public static final IRubyObject newSigned64(Ruby runtime, long value) | |
| newSigned8 | back to summary |
|---|---|
| public static final IRubyObject newSigned8(Ruby runtime, byte value) | |
| newUnsigned16 | back to summary |
|---|---|
| public static final IRubyObject newUnsigned16(Ruby runtime, short value) | |
| newUnsigned32 | back to summary |
|---|---|
| public static final IRubyObject newUnsigned32(Ruby runtime, int value) | |
| newUnsigned64 | back to summary |
|---|---|
| public static final IRubyObject newUnsigned64(Ruby runtime, long value) | |
| newUnsigned8 | back to summary |
|---|---|
| public static final IRubyObject newUnsigned8(Ruby runtime, byte value) | |
| parseByteOrder | back to summary |
|---|---|
| public static ByteOrder parseByteOrder(Ruby runtime, IRubyObject byte_order) | |
| roundUpToPowerOfTwo | back to summary |
|---|---|
| public static int roundUpToPowerOfTwo(int v) | |
| slice | back to summary |
|---|---|
| public static final ByteBuffer slice(ByteBuffer buf, int offset) | |
| uint16Value | back to summary |
|---|---|
| public static final int uint16Value(IRubyObject parameter) | |
| uint32Value | back to summary |
|---|---|
| public static final long uint32Value(IRubyObject parameter) | |
| uint64Value | back to summary |
|---|---|
| public static final long uint64Value(IRubyObject parameter) | |
| uint8Value | back to summary |
|---|---|
| public static final short uint8Value(IRubyObject parameter) | |
| ulongValue | back to summary |
|---|---|
| public static final long ulongValue(IRubyObject parameter) | |