public class Convert
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
CHAR_SIZE |
static int |
DOUBLE_SIZE |
static int |
FLOAT_SIZE |
static int |
INT_SIZE |
static int |
LONG_SIZE |
static int |
SHORT_SIZE |
Constructor and Description |
---|
Convert() |
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args) |
static byte[] |
toByte(char c) |
static void |
toByte(char c,
byte[] bytes,
int o) |
static byte[] |
toByte(double d) |
static void |
toByte(double d,
byte[] bytes,
int o) |
static byte[] |
toByte(float f) |
static void |
toByte(float f,
byte[] bytes,
int o) |
static byte[] |
toByte(int i) |
static void |
toByte(int i,
byte[] bytes,
int o) |
static byte[] |
toByte(long l) |
static void |
toByte(long l,
byte[] bytes,
int o) |
static byte[] |
toByte(short w) |
static void |
toByte(short w,
byte[] bytes,
int o) |
static byte[] |
toByte(java.lang.String s) |
static byte[] |
toByte(java.lang.String s,
byte[] bytes,
int o) |
static char |
toChar(byte[] b) |
static char |
toChar(byte[] b,
int o) |
static double |
toDouble(byte[] b) |
static double |
toDouble(byte[] b,
int o) |
static float |
toFloat(byte[] b) |
static float |
toFloat(byte[] b,
int o) |
static int |
toInt(byte[] b) |
static int |
toInt(byte[] b,
int o) |
static long |
toLong(byte[] b) |
static long |
toLong(byte[] b,
int o) |
static short |
toShort(byte[] b) |
static short |
toShort(byte[] b,
int o) |
static java.lang.String |
toString(byte[] b) |
public static final int INT_SIZE
public static final int LONG_SIZE
public static final int SHORT_SIZE
public static final int CHAR_SIZE
public static final int FLOAT_SIZE
public static final int DOUBLE_SIZE
public static final void toByte(int i, byte[] bytes, int o)
public static final byte[] toByte(int i)
public static final void toByte(short w, byte[] bytes, int o)
public static final byte[] toByte(short w)
public static final void toByte(long l, byte[] bytes, int o)
public static final byte[] toByte(long l)
public static final void toByte(char c, byte[] bytes, int o)
public static final byte[] toByte(char c)
public static void toByte(float f, byte[] bytes, int o)
public static final byte[] toByte(float f)
public static void toByte(double d, byte[] bytes, int o)
public static final byte[] toByte(double d)
public static final byte[] toByte(java.lang.String s)
public static final byte[] toByte(java.lang.String s, byte[] bytes, int o)
public static final int toInt(byte[] b)
public static final int toInt(byte[] b, int o)
public static final short toShort(byte[] b)
public static final short toShort(byte[] b, int o)
public static final long toLong(byte[] b)
public static final long toLong(byte[] b, int o)
public static final char toChar(byte[] b)
public static final char toChar(byte[] b, int o)
public static final float toFloat(byte[] b)
public static final float toFloat(byte[] b, int o)
public static final double toDouble(byte[] b)
public static final double toDouble(byte[] b, int o)
public static final java.lang.String toString(byte[] b)
public static void main(java.lang.String[] args)