public class Bits extends Object
Bits class.
| Modifier and Type | Method and Description |
|---|---|
static boolean |
getBoolean(byte[] abyte0,
int i)
getBoolean.
|
static char |
getChar(byte[] abyte0,
int i)
getChar.
|
static double |
getDouble(byte[] abyte0,
int i)
getDouble.
|
static float |
getFloat(byte[] abyte0,
int i)
getFloat.
|
static int |
getInt(byte[] abyte0,
int i)
getInt.
|
static long |
getLong(byte[] abyte0,
int i)
getLong.
|
static short |
getShort(byte[] abyte0,
int i)
getShort.
|
static void |
putBoolean(byte[] abyte0,
int i,
boolean flag)
putBoolean.
|
static void |
putChar(byte[] abyte0,
int i,
char c)
putChar.
|
static void |
putDouble(byte[] abyte0,
int i,
double d)
putDouble.
|
static void |
putFloat(byte[] abyte0,
int i,
float f)
putFloat.
|
static void |
putInt(byte[] abyte0,
int i,
int j)
putInt.
|
static void |
putLong(byte[] abyte0,
int i,
long l)
putLong.
|
static void |
putShort(byte[] abyte0,
int i,
short word0)
putShort.
|
public static boolean getBoolean(byte[] abyte0,
int i)
getBoolean.
abyte0 - an array of byte.i - a int.public static char getChar(byte[] abyte0,
int i)
getChar.
abyte0 - an array of byte.i - a int.public static short getShort(byte[] abyte0,
int i)
getShort.
abyte0 - an array of byte.i - a int.public static int getInt(byte[] abyte0,
int i)
getInt.
abyte0 - an array of byte.i - a int.public static float getFloat(byte[] abyte0,
int i)
getFloat.
abyte0 - an array of byte.i - a int.public static long getLong(byte[] abyte0,
int i)
getLong.
abyte0 - an array of byte.i - a int.public static double getDouble(byte[] abyte0,
int i)
getDouble.
abyte0 - an array of byte.i - a int.public static void putBoolean(byte[] abyte0,
int i,
boolean flag)
putBoolean.
abyte0 - an array of byte.i - a int.flag - a boolean.public static void putChar(byte[] abyte0,
int i,
char c)
putChar.
abyte0 - an array of byte.i - a int.c - a char.public static void putShort(byte[] abyte0,
int i,
short word0)
putShort.
abyte0 - an array of byte.i - a int.word0 - a short.public static void putInt(byte[] abyte0,
int i,
int j)
putInt.
abyte0 - an array of byte.i - a int.j - a int.public static void putFloat(byte[] abyte0,
int i,
float f)
putFloat.
abyte0 - an array of byte.i - a int.f - a float.public static void putLong(byte[] abyte0,
int i,
long l)
putLong.
abyte0 - an array of byte.i - a int.l - a long.public static void putDouble(byte[] abyte0,
int i,
double d)
putDouble.
abyte0 - an array of byte.i - a int.d - a double.Copyright © 2016. All Rights Reserved.