public class BigEndianCodec
extends Object
Constructor and Description |
---|
BigEndianCodec() |
Modifier and Type | Method and Description |
---|---|
static boolean |
getBoolean(byte[] bytes,
int index) |
static char |
getChar(byte[] bytes,
int index) |
static double |
getDouble(byte[] bytes,
int index) |
static float |
getFloat(byte[] bytes,
int index) |
static int |
getInt(byte[] bytes,
int index) |
static long |
getLong(byte[] bytes,
int index) |
static short |
getShort(byte[] bytes,
int index) |
static void |
putBoolean(byte[] bytes,
int index,
boolean b) |
static void |
putChar(byte[] bytes,
int index,
char c) |
static void |
putDouble(byte[] bytes,
int index,
double d) |
static void |
putFloat(byte[] bytes,
int index,
float f) |
static void |
putInt(byte[] bytes,
int index,
int i) |
static void |
putLong(byte[] bytes,
int index,
long l) |
static void |
putShort(byte[] bytes,
int index,
short s) |
public static boolean getBoolean(byte[] bytes, int index)
public static char getChar(byte[] bytes, int index)
public static double getDouble(byte[] bytes, int index)
public static float getFloat(byte[] bytes, int index)
public static int getInt(byte[] bytes, int index)
public static long getLong(byte[] bytes, int index)
public static short getShort(byte[] bytes, int index)
public static void putBoolean(byte[] bytes, int index, boolean b)
public static void putChar(byte[] bytes, int index, char c)
public static void putDouble(byte[] bytes, int index, double d)
public static void putFloat(byte[] bytes, int index, float f)
public static void putInt(byte[] bytes, int index, int i)
public static void putLong(byte[] bytes, int index, long l)
public static void putShort(byte[] bytes, int index, short s)