| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private int | |
| private int | |
| private static final ByteList[] | |
| private static final byte[] | |
| private byte[] | |
| private static final boolean[] | |
| private int | |
| private static final byte[] | |
| private static final byte[][] | |
| private static final byte[] | |
| public static final int | |
| private final Ruby | |
| private static final boolean[] | |
| private static final boolean[] | |
| private final ByteList | |
| private static final byte[] | |
| private static final byte[] |
| Access | Constructor and Description |
|---|---|
| public | |
| pack-priv | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| private IRubyObject | |
| public static IRubyObject | byteListToInum(Ruby runtime, ByteList str, int base, boolean badcheck, boolean exception)
rb_cstr_to_inum |
| public static RubyInteger | |
| public static RubyInteger | |
| public IRubyObject | |
| public static byte[] | |
| public static final ByteList | |
| private int | |
| private byte | |
| private static byte | |
| private void | |
| private boolean | |
| private void | |
| public static final ByteList | |
| public static final byte[] | |
| public static final byte[] | |
| public static final byte[] | |
| public static final ByteList | |
| public static final ByteList | |
| public static final byte[] | |
| public static final byte[] | |
| public static final ByteList | |
| public static final byte[] | |
| private static final ByteList | |
| private void | |
| private boolean | |
| public static final void | |
| public static final void | |
| public static final ByteList | |
| public static final byte[] | |
| public static final byte[] | |
| public static final ByteList | |
| public static final ByteList | longToByteList(long i, int radix)
Produce a new ByteList of the given long as a string in the given radix. |
| public static final ByteList | |
| public static final ByteList | longToByteListCached(long i)
Produce a ByteList of the radix 10 string form of the given long, possibly returning a cached instance for certain ranges. |
| public static final ByteList | |
| public static final byte[] | |
| public static final ByteList | |
| public static final ByteList | |
| public static final byte[] | |
| public static final byte[] | |
| public static final ByteList | |
| public static final byte[] | |
| private static final ByteList | |
| private static int | |
| private void | |
| private BigInteger | |
| private long | |
| private int | |
| public static final byte[] | |
| public static final byte[] | |
| public static final byte[] | |
| public static final byte[] | |
| private static void | writeDecimalDigitsToArray(byte[] bytes, long i, boolean negative, int begin, int originalSize, int newSize)
|
| badcheck | back to summary |
|---|---|
| private final boolean badcheck | |
| base | back to summary |
|---|---|
| private int base | |
| beg | back to summary |
|---|---|
| private int beg | |
| BYTE_RANGE_STRINGS | back to summary |
|---|---|
| private static final ByteList[] BYTE_RANGE_STRINGS | |
| conv_digit | back to summary |
|---|---|
| private static final byte[] conv_digit | |
| data | back to summary |
|---|---|
| private byte[] data | |
| digit | back to summary |
|---|---|
| private static final boolean[] digit | |
| end | back to summary |
|---|---|
| private int end | |
| LOWER_DIGITS | back to summary |
|---|---|
| private static final byte[] LOWER_DIGITS | |
| MIN_VALUE_BYTES | back to summary |
|---|---|
| private static final byte[][] MIN_VALUE_BYTES | |
| MIN_VALUE_BYTES_RADIX_10 | back to summary |
|---|---|
| private static final byte[] MIN_VALUE_BYTES_RADIX_10 | |
| MIN_VALUE_BYTES_RADIX_10_LENGTH | back to summary |
|---|---|
| public static final int MIN_VALUE_BYTES_RADIX_10_LENGTH | |
| runtime | back to summary |
|---|---|
| private final Ruby runtime | |
| space | back to summary |
|---|---|
| private static final boolean[] space | |
| spaceOrUnderscore | back to summary |
|---|---|
| private static final boolean[] spaceOrUnderscore | |
| str | back to summary |
|---|---|
| private final ByteList str | |
| UPPER_DIGITS | back to summary |
|---|---|
| private static final byte[] UPPER_DIGITS | |
| ZERO_BYTES | back to summary |
|---|---|
| private static final byte[] ZERO_BYTES | |
| ConvertBytes | back to summary |
|---|---|
| public ConvertBytes(Ruby runtime, ByteList str, int base, boolean badcheck) | |
| ConvertBytes | back to summary |
|---|---|
| pack-priv ConvertBytes(Ruby runtime, ByteList str, int off, int end, int base, boolean badcheck) | |
| ConvertBytes | back to summary |
|---|---|
| public ConvertBytes(Ruby runtime, ByteList str, int base, boolean badcheck, boolean is19)
Deprecated
| |
| bigParse | back to summary |
|---|---|
| private IRubyObject bigParse(int len, boolean sign, boolean exception) | |
| byteListToInum | back to summary |
|---|---|
| public static IRubyObject byteListToInum(Ruby runtime, ByteList str, int base, boolean badcheck, boolean exception) rb_cstr_to_inum | |
| byteListToInum | back to summary |
|---|---|
| public static RubyInteger byteListToInum(Ruby runtime, ByteList str, int base, boolean badcheck) | |
| byteListToInum | back to summary |
|---|---|
| public static RubyInteger byteListToInum(Ruby runtime, ByteList str, int off, int end, int base, boolean badcheck) | |
| byteListToInum | back to summary |
|---|---|
| public IRubyObject byteListToInum(boolean exception) | |
| bytesToUUIDBytes | back to summary |
|---|---|
| public static byte[] bytesToUUIDBytes(byte[] randBytes, boolean upper) | |
| byteToSharedByteList | back to summary |
|---|---|
| public static final ByteList byteToSharedByteList(short i) Return a cached ByteList for values -256..255. Any values outside this range are not cached and use of this method should be guarded appropriately. A short parameter is used to accommodate unsigned byte values 128..255. | |
| calculateLength | back to summary |
|---|---|
| private int calculateLength() | |
| convertDigit | back to summary |
|---|---|
| private byte convertDigit(byte c) conv_digit | |
| decimalByteForDigit | back to summary |
|---|---|
| private static byte decimalByteForDigit(long i) | |
| figureOutBase | back to summary |
|---|---|
| private void figureOutBase() | |
| getSign | back to summary |
|---|---|
| private boolean getSign() | |
| ignoreLeadingWhitespace | back to summary |
|---|---|
| private void ignoreLeadingWhitespace() | |
| intToBinaryByteList | back to summary |
|---|---|
| public static final ByteList intToBinaryByteList(int i) | |
| intToBinaryBytes | back to summary |
|---|---|
| public static final byte[] intToBinaryBytes(int i) | |
| intToByteArray | back to summary |
|---|---|
| public static final byte[] intToByteArray(int i, int radix, boolean upper) | |
| intToCharBytes | back to summary |
|---|---|
| public static final byte[] intToCharBytes(int i) | |
| intToHexByteList | back to summary |
|---|---|
| public static final ByteList intToHexByteList(int i) | |
| intToHexByteList | back to summary |
|---|---|
| public static final ByteList intToHexByteList(int i, boolean upper) | |
| intToHexBytes | back to summary |
|---|---|
| public static final byte[] intToHexBytes(int i) | |
| intToHexBytes | back to summary |
|---|---|
| public static final byte[] intToHexBytes(int i, boolean upper) | |
| intToOctalByteList | back to summary |
|---|---|
| public static final ByteList intToOctalByteList(int i) | |
| intToOctalBytes | back to summary |
|---|---|
| public static final byte[] intToOctalBytes(int i) | |
| intToUnsignedByteList | back to summary |
|---|---|
| private static final ByteList intToUnsignedByteList(int i, int shift, byte[] digitmap) | |
| invalidString | back to summary |
|---|---|
| private void invalidString(String type) rb_invalid_str | |
| isSpace | back to summary |
|---|---|
| private boolean isSpace(int str) ISSPACE | |
| longIntoString | back to summary |
|---|---|
| public static final void longIntoString(RubyString string, long i) | |
| longIntoStringSimple | back to summary |
|---|---|
| public static final void longIntoStringSimple(RubyString string, long i) | |
| longToBinaryByteList | back to summary |
|---|---|
| public static final ByteList longToBinaryByteList(long i) | |
| longToBinaryBytes | back to summary |
|---|---|
| public static final byte[] longToBinaryBytes(long i) | |
| longToByteArray | back to summary |
|---|---|
| public static final byte[] longToByteArray(long i, int radix, boolean upper) | |
| longToByteList | back to summary |
|---|---|
| public static final ByteList longToByteList(long i) Produce a new ByteList of the given long as a string in radix 10. | |
| longToByteList | back to summary |
|---|---|
| public static final ByteList longToByteList(long i, int radix) Produce a new ByteList of the given long as a string in the given radix. | |
| longToByteList | back to summary |
|---|---|
| public static final ByteList longToByteList(long i, int radix, byte[] digitmap) | |
| longToByteListCached | back to summary |
|---|---|
| public static final ByteList longToByteListCached(long i) Produce a ByteList of the radix 10 string form of the given long, possibly returning a cached instance for certain ranges. The result is suitable for places where transient ByteList are immediately appended into another buffer. | |
| longToByteListSimple | back to summary |
|---|---|
| public static final ByteList longToByteListSimple(long i) | |
| longToCharBytes | back to summary |
|---|---|
| public static final byte[] longToCharBytes(long i) | |
| longToHexByteList | back to summary |
|---|---|
| public static final ByteList longToHexByteList(long i) | |
| longToHexByteList | back to summary |
|---|---|
| public static final ByteList longToHexByteList(long i, boolean upper) | |
| longToHexBytes | back to summary |
|---|---|
| public static final byte[] longToHexBytes(long i) | |
| longToHexBytes | back to summary |
|---|---|
| public static final byte[] longToHexBytes(long i, boolean upper) | |
| longToOctalByteList | back to summary |
|---|---|
| public static final ByteList longToOctalByteList(long i) | |
| longToOctalBytes | back to summary |
|---|---|
| public static final byte[] longToOctalBytes(long i) | |
| longToUnsignedByteList | back to summary |
|---|---|
| private static final ByteList longToUnsignedByteList(long i, int shift, byte[] digitmap) | |
| sizeWithDecimalString | back to summary |
|---|---|
| private static int sizeWithDecimalString(long i, boolean neg, int baseSize) | |
| squeezeZeroes | back to summary |
|---|---|
| private void squeezeZeroes() | |
| stringToBig | back to summary |
|---|---|
| private BigInteger stringToBig(String str) | |
| stringToLong | back to summary |
|---|---|
| private long stringToLong(int nptr, int[] endptr, int base) | |
| trailingLength | back to summary |
|---|---|
| private int trailingLength() | |
| twosComplementToBinaryBytes | back to summary |
|---|---|
| public static final byte[] twosComplementToBinaryBytes(byte[] in) | |
| twosComplementToHexBytes | back to summary |
|---|---|
| public static final byte[] twosComplementToHexBytes(byte[] in, boolean upper) | |
| twosComplementToOctalBytes | back to summary |
|---|---|
| public static final byte[] twosComplementToOctalBytes(byte[] in) | |
| twosComplementToUnsignedBytes | back to summary |
|---|---|
| public static final byte[] twosComplementToUnsignedBytes(byte[] in, int shift, boolean upper) | |
| writeDecimalDigitsToArray | back to summary |
|---|---|
| private static void writeDecimalDigitsToArray(byte[] bytes, long i, boolean negative, int begin, int originalSize, int newSize) | |
| Modifier and Type | Class and Description |
|---|---|
| public static enum |
| Modifier and Type | Field and Description |
|---|---|
| private final ConvertBytes. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public ConvertBytes. |
| kind | back to summary |
|---|---|
| private final ConvertBytes. | |
| ERange | back to summary |
|---|---|
| public ERange(ConvertBytes. | |
| getKind | back to summary |
|---|---|
| public ConvertBytes. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final ConvertBytes. | |
| public static final ConvertBytes. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static ConvertBytes. | |
| public static ConvertBytes. |
| Overflow | back to summary |
|---|---|
| public static final ConvertBytes. | |
| Underflow | back to summary |
|---|---|
| public static final ConvertBytes. | |
| Kind | back to summary |
|---|---|
| private Kind() | |
| valueOf | back to summary |
|---|---|
| public static ConvertBytes. | |
| values | back to summary |
|---|---|
| public static ConvertBytes. | |