|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sibvisions.util.type.ByteUtil
public final class ByteUtil
The ByteUtil contains methods for byte(array) operations and manipulations.
| Method Summary | |
|---|---|
static byte[] |
toByte(int pValue)
Gets the bytes of an integer value (big endian). |
static byte[] |
toByteLittleEndian(int pValue)
Gets the bytes of an integer value (little endian). |
static int |
toInt(byte[] pValue,
int pStart)
Gets the integer value of a byte array. |
static int |
toIntLittleEndian(byte[] pValue,
int pStart)
Gets the integer value of a byte array. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static int toIntLittleEndian(byte[] pValue,
int pStart)
pValue - the byte arraypStart - the start position
public static int toInt(byte[] pValue,
int pStart)
pValue - the byte arraypStart - the start position
public static byte[] toByteLittleEndian(int pValue)
pValue - the value
public static byte[] toByte(int pValue)
pValue - the value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||