be.lassi.util
Class Hex
java.lang.Object
be.lassi.util.Hex
public class Hex
- extends java.lang.Object
Method Summary |
static boolean |
getBoolean(byte[] bytes,
int offset)
|
static boolean |
getBoolean(byte[] bytes,
int offset,
int bit)
|
static char |
getChar(int b)
|
static int |
getInt(byte[] bytes,
int offset)
|
static int |
getInt4(byte[] bytes,
int offset)
|
static void |
set2(byte[] bytes,
int offset,
boolean value)
|
static void |
set2(byte[] bytes,
int offset,
int value)
|
static void |
set4(byte[] bytes,
int offset,
int value)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getBoolean
public static boolean getBoolean(byte[] bytes,
int offset)
getBoolean
public static boolean getBoolean(byte[] bytes,
int offset,
int bit)
getChar
public static char getChar(int b)
getInt
public static int getInt(byte[] bytes,
int offset)
getInt4
public static int getInt4(byte[] bytes,
int offset)
set2
public static void set2(byte[] bytes,
int offset,
boolean value)
set2
public static void set2(byte[] bytes,
int offset,
int value)
set4
public static void set4(byte[] bytes,
int offset,
int value)