public class ConvertBytes
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ConvertBytes.ERange |
Constructor and Description |
---|
ConvertBytes(Ruby runtime,
ByteList str,
int base,
boolean badcheck) |
ConvertBytes(Ruby runtime,
ByteList str,
int base,
boolean badcheck,
boolean is19)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
RubyInteger |
byteListToInum() |
static RubyInteger |
byteListToInum(Ruby runtime,
ByteList str,
int base,
boolean badcheck)
rb_cstr_to_inum
|
static RubyInteger |
byteListToInum(Ruby runtime,
ByteList str,
int off,
int end,
int base,
boolean badcheck) |
static RubyInteger |
byteListToInum19(Ruby runtime,
ByteList str,
int base,
boolean badcheck)
Deprecated.
|
static byte[] |
bytesToUUIDBytes(byte[] randBytes,
boolean upper) |
static ByteList |
intToBinaryByteList(int i) |
static byte[] |
intToBinaryBytes(int i) |
static byte[] |
intToByteArray(int i,
int radix,
boolean upper) |
static byte[] |
intToCharBytes(int i) |
static ByteList |
intToHexByteList(int i) |
static ByteList |
intToHexByteList(int i,
boolean upper) |
static byte[] |
intToHexBytes(int i) |
static byte[] |
intToHexBytes(int i,
boolean upper) |
static ByteList |
intToOctalByteList(int i) |
static byte[] |
intToOctalBytes(int i) |
static ByteList |
longToBinaryByteList(long i) |
static byte[] |
longToBinaryBytes(long i) |
static byte[] |
longToByteArray(long i,
int radix,
boolean upper) |
static ByteList |
longToByteList(long i) |
static ByteList |
longToByteList(long i,
int radix) |
static ByteList |
longToByteList(long i,
int radix,
byte[] digitmap) |
static byte[] |
longToCharBytes(long i) |
static ByteList |
longToHexByteList(long i) |
static ByteList |
longToHexByteList(long i,
boolean upper) |
static byte[] |
longToHexBytes(long i) |
static byte[] |
longToHexBytes(long i,
boolean upper) |
static ByteList |
longToOctalByteList(long i) |
static byte[] |
longToOctalBytes(long i) |
static byte[] |
twosComplementToBinaryBytes(byte[] in) |
static byte[] |
twosComplementToHexBytes(byte[] in,
boolean upper) |
static byte[] |
twosComplementToOctalBytes(byte[] in) |
static byte[] |
twosComplementToUnsignedBytes(byte[] in,
int shift,
boolean upper) |
public static final byte[] intToBinaryBytes(int i)
public static final byte[] intToOctalBytes(int i)
public static final byte[] intToHexBytes(int i)
public static final byte[] intToHexBytes(int i, boolean upper)
public static final ByteList intToBinaryByteList(int i)
public static final ByteList intToOctalByteList(int i)
public static final ByteList intToHexByteList(int i)
public static final ByteList intToHexByteList(int i, boolean upper)
public static final byte[] intToByteArray(int i, int radix, boolean upper)
public static final byte[] intToCharBytes(int i)
public static final byte[] longToBinaryBytes(long i)
public static final byte[] longToOctalBytes(long i)
public static final byte[] longToHexBytes(long i)
public static final byte[] longToHexBytes(long i, boolean upper)
public static final ByteList longToBinaryByteList(long i)
public static final ByteList longToOctalByteList(long i)
public static final ByteList longToHexByteList(long i)
public static final ByteList longToHexByteList(long i, boolean upper)
public static final byte[] longToByteArray(long i, int radix, boolean upper)
public static final byte[] longToCharBytes(long i)
public static final ByteList longToByteList(long i)
public static final ByteList longToByteList(long i, int radix)
public static final ByteList longToByteList(long i, int radix, byte[] digitmap)
public static final byte[] twosComplementToBinaryBytes(byte[] in)
public static final byte[] twosComplementToOctalBytes(byte[] in)
public static final byte[] twosComplementToHexBytes(byte[] in, boolean upper)
public static final byte[] twosComplementToUnsignedBytes(byte[] in, int shift, boolean upper)
public static RubyInteger byteListToInum(Ruby runtime, ByteList str, int base, boolean badcheck)
public static RubyInteger byteListToInum(Ruby runtime, ByteList str, int off, int end, int base, boolean badcheck)
@Deprecated public static RubyInteger byteListToInum19(Ruby runtime, ByteList str, int base, boolean badcheck)
public static byte[] bytesToUUIDBytes(byte[] randBytes, boolean upper)
public RubyInteger byteListToInum()
Copyright © 2001-2020 JRuby. All Rights Reserved.