|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.cdgsoftware.icl.util.RecordLength
public class RecordLength
The Class RecordLength.
Constructor Summary | |
---|---|
RecordLength()
|
Method Summary | |
---|---|
static int |
byteArrayToInt(byte[] b)
Convert the byte array to an int. |
static int |
byteArrayToInt(byte[] b,
int offset)
Convert the byte array to an int starting from the given offset. |
static byte[] |
intToByteArray(int value,
int arrayLength)
Convert the integer value into a byte array of arrayLength bytes. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RecordLength()
Method Detail |
---|
public static int byteArrayToInt(byte[] b)
b
- The byte array
public static int byteArrayToInt(byte[] b, int offset)
b
- The byte arrayoffset
- The array offset
public static byte[] intToByteArray(int value, int arrayLength)
value
- the valuearrayLength
- the array length
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |