Common
Class Hex
java.lang.Object
|
+--Common.Hex
- public class Hex
- extends java.lang.Object
Constructor Summary |
Hex()
|
Method Summary |
static byte[] |
arrayCopy(byte[] from,
byte[] to,
int pos)
|
static int |
getByte(byte[] b,
int pos)
|
static byte[] |
getBytes(byte[] b,
int pos,
int len)
|
static int |
getDWord(byte[] b,
int pos)
|
static int |
getWord(byte[] b,
int pos)
|
static void |
printBytes(byte[] b)
|
static byte[] |
toByte(byte[] array,
int pos,
int i)
|
static byte |
toByte(int i)
|
static byte[] |
toBytes(byte[] array,
int pos,
java.lang.String s)
|
static byte[] |
toDWord(byte[] array,
int pos,
int i)
|
static byte[] |
toDWord(int i)
|
static int |
toInt(byte b)
|
static byte[] |
toWord(byte[] array,
int pos,
int i)
|
static byte[] |
toWord(int i)
|
Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
toString,
wait,
wait,
wait |
Hex
public Hex()
toInt
public static int toInt(byte b)
printBytes
public static void printBytes(byte[] b)
getDWord
public static int getDWord(byte[] b,
int pos)
getWord
public static int getWord(byte[] b,
int pos)
getByte
public static int getByte(byte[] b,
int pos)
getBytes
public static byte[] getBytes(byte[] b,
int pos,
int len)
toByte
public static byte toByte(int i)
toWord
public static byte[] toWord(int i)
toDWord
public static byte[] toDWord(int i)
toByte
public static byte[] toByte(byte[] array,
int pos,
int i)
toWord
public static byte[] toWord(byte[] array,
int pos,
int i)
toDWord
public static byte[] toDWord(byte[] array,
int pos,
int i)
toBytes
public static byte[] toBytes(byte[] array,
int pos,
java.lang.String s)
arrayCopy
public static byte[] arrayCopy(byte[] from,
byte[] to,
int pos)