public class ConvertBytes extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ConvertBytes.ERange |
Constructor and Description |
---|
ConvertBytes(Ruby runtime,
org.jruby.util.ByteList _str,
int base,
boolean badcheck) |
ConvertBytes(Ruby runtime,
org.jruby.util.ByteList _str,
int base,
boolean badcheck,
boolean is19)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
RubyInteger |
byteListToInum() |
static RubyInteger |
byteListToInum(Ruby runtime,
org.jruby.util.ByteList str,
int base,
boolean badcheck)
Deprecated.
|
static RubyInteger |
byteListToInum19(Ruby runtime,
org.jruby.util.ByteList str,
int base,
boolean badcheck) |
static byte[] |
bytesToUUIDBytes(byte[] randBytes,
boolean upper) |
static org.jruby.util.ByteList |
intToBinaryByteList(int i) |
static byte[] |
intToBinaryBytes(int i) |
static byte[] |
intToByteArray(int i,
int radix,
boolean upper) |
static byte[] |
intToCharBytes(int i) |
static org.jruby.util.ByteList |
intToHexByteList(int i) |
static org.jruby.util.ByteList |
intToHexByteList(int i,
boolean upper) |
static byte[] |
intToHexBytes(int i) |
static byte[] |
intToHexBytes(int i,
boolean upper) |
static org.jruby.util.ByteList |
intToOctalByteList(int i) |
static byte[] |
intToOctalBytes(int i) |
static org.jruby.util.ByteList |
longToBinaryByteList(long i) |
static byte[] |
longToBinaryBytes(long i) |
static byte[] |
longToByteArray(long i,
int radix,
boolean upper) |
static org.jruby.util.ByteList |
longToByteList(long i) |
static org.jruby.util.ByteList |
longToByteList(long i,
int radix) |
static org.jruby.util.ByteList |
longToByteList(long i,
int radix,
byte[] digitmap) |
static byte[] |
longToCharBytes(long i) |
static org.jruby.util.ByteList |
longToHexByteList(long i) |
static org.jruby.util.ByteList |
longToHexByteList(long i,
boolean upper) |
static byte[] |
longToHexBytes(long i) |
static byte[] |
longToHexBytes(long i,
boolean upper) |
static org.jruby.util.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 ConvertBytes(Ruby runtime, org.jruby.util.ByteList _str, int base, boolean badcheck)
@Deprecated public ConvertBytes(Ruby runtime, org.jruby.util.ByteList _str, int base, boolean badcheck, boolean is19)
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 org.jruby.util.ByteList intToBinaryByteList(int i)
public static final org.jruby.util.ByteList intToOctalByteList(int i)
public static final org.jruby.util.ByteList intToHexByteList(int i)
public static final org.jruby.util.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 org.jruby.util.ByteList longToBinaryByteList(long i)
public static final org.jruby.util.ByteList longToOctalByteList(long i)
public static final org.jruby.util.ByteList longToHexByteList(long i)
public static final org.jruby.util.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 org.jruby.util.ByteList longToByteList(long i)
public static final org.jruby.util.ByteList longToByteList(long i, int radix)
public static final org.jruby.util.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)
@Deprecated public static RubyInteger byteListToInum(Ruby runtime, org.jruby.util.ByteList str, int base, boolean badcheck)
public static RubyInteger byteListToInum19(Ruby runtime, org.jruby.util.ByteList str, int base, boolean badcheck)
public static byte[] bytesToUUIDBytes(byte[] randBytes, boolean upper)
public RubyInteger byteListToInum()
Copyright © 2001-2016 JRuby. All Rights Reserved.