|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectPER.rover.control.ByteUtil
Byte conversions for network
| Constructor Summary | |
ByteUtil()
|
|
| Method Summary | |
static void |
intToNetworkLong(byte[] buf,
int num,
int place)
|
static void |
intToNetworkShort(byte[] buf,
int num,
int place)
|
static int |
networkLongToInt(byte[] buf,
int offset)
|
static int |
networkShortToInt(byte[] buf,
int offset)
|
static int |
networkShortToUnsignedInt(byte[] buf,
int offset)
|
static int |
unsign(byte b)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ByteUtil()
| Method Detail |
public static int unsign(byte b)
public static int networkLongToInt(byte[] buf,
int offset)
public static int networkShortToUnsignedInt(byte[] buf,
int offset)
public static int networkShortToInt(byte[] buf,
int offset)
public static void intToNetworkLong(byte[] buf,
int num,
int place)
public static void intToNetworkShort(byte[] buf,
int num,
int place)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||