public class DataInputToolkit
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static byte |
BOOLEAN_SIZE |
static byte |
BYTE_SIZE |
static byte |
CHAR_SIZE |
static byte |
DOUBLE_SIZE |
static byte |
FLOAT_SIZE |
static byte |
INTEGER_SIZE |
static byte |
LONG_SIZE |
static byte |
SHORT_SIZE |
Constructor and Description |
---|
DataInputToolkit() |
Modifier and Type | Method and Description |
---|---|
static boolean |
readBoolean(byte[] bytes,
int offset) |
static byte |
readByte(byte[] bytes,
int offset) |
static char |
readChar(byte[] bytes,
int offset) |
static double |
readDouble(byte[] bytes,
int offset) |
static float |
readFloat(byte[] bytes,
int offset) |
static int |
readInt(byte[] bytes,
int index) |
static long |
readLong(byte[] bytes,
int index) |
static short |
readShort(byte[] bytes,
int offset) |
static int |
readUnsignedByte(byte[] bytes,
int offset) |
static long |
readUnsignedInt(byte[] bytes,
int index) |
static int |
readUnsignedShort(byte[] bytes,
int offset) |
public static final byte BYTE_SIZE
public static final byte BOOLEAN_SIZE
public static final byte SHORT_SIZE
public static final byte CHAR_SIZE
public static final byte INTEGER_SIZE
public static final byte LONG_SIZE
public static final byte FLOAT_SIZE
public static final byte DOUBLE_SIZE
public static int readUnsignedByte(byte[] bytes, int offset)
public static byte readByte(byte[] bytes, int offset)
public static int readUnsignedShort(byte[] bytes, int offset)
public static short readShort(byte[] bytes, int offset)
public static char readChar(byte[] bytes, int offset)
public static long readUnsignedInt(byte[] bytes, int index)
public static int readInt(byte[] bytes, int index)
public static long readLong(byte[] bytes, int index)
public static float readFloat(byte[] bytes, int offset)
public static double readDouble(byte[] bytes, int offset)
public static boolean readBoolean(byte[] bytes, int offset)