| java.lang.Object java.io.Bits
Bits | class Bits (Code) | | Utility methods for packing/unpacking primitive values in/out of byte arrays
using big-endian byte ordering.
|
Method Summary | |
static boolean | getBoolean(byte[] b, int off) | static char | getChar(byte[] b, int off) | static double | getDouble(byte[] b, int off) | static float | getFloat(byte[] b, int off) | static int | getInt(byte[] b, int off) | static long | getLong(byte[] b, int off) | static short | getShort(byte[] b, int off) | static void | putBoolean(byte[] b, int off, boolean val) | static void | putChar(byte[] b, int off, char val) | static void | putDouble(byte[] b, int off, double val) | static void | putFloat(byte[] b, int off, float val) | static void | putInt(byte[] b, int off, int val) | static void | putLong(byte[] b, int off, long val) | static void | putShort(byte[] b, int off, short val) |
getBoolean | static boolean getBoolean(byte[] b, int off)(Code) | | |
getChar | static char getChar(byte[] b, int off)(Code) | | |
getDouble | static double getDouble(byte[] b, int off)(Code) | | |
getFloat | static float getFloat(byte[] b, int off)(Code) | | |
getInt | static int getInt(byte[] b, int off)(Code) | | |
getLong | static long getLong(byte[] b, int off)(Code) | | |
getShort | static short getShort(byte[] b, int off)(Code) | | |
putBoolean | static void putBoolean(byte[] b, int off, boolean val)(Code) | | |
putChar | static void putChar(byte[] b, int off, char val)(Code) | | |
putDouble | static void putDouble(byte[] b, int off, double val)(Code) | | |
putFloat | static void putFloat(byte[] b, int off, float val)(Code) | | |
putInt | static void putInt(byte[] b, int off, int val)(Code) | | |
putLong | static void putLong(byte[] b, int off, long val)(Code) | | |
putShort | static void putShort(byte[] b, int off, short val)(Code) | | |
|
|