Package | Description |
---|---|
com.hfg.util |
Various utility classes.
|
Modifier and Type | Method and Description |
---|---|
static int |
ByteUtil.get2ByteInt(ByteSource inByteSource,
ByteOrder inByteOrder)
Returns a 2-byte int from the current position of the specified ByteSource.
|
static char[] |
ByteUtil.getCharArray(ByteSource inByteSource,
int inNumValues)
Returns a char[] derived from the specified ByteSource.
|
static int |
ByteUtil.getInt(ByteSource inByteSource,
ByteOrder inByteOrder)
Returns an int from the current position of the specified ByteSource.
|
static long |
ByteUtil.getLong(ByteSource inByteSource,
ByteOrder inByteOrder)
Returns an long from the current position of the specified ByteSource.
|
static short[] |
ByteUtil.getShortArray(ByteSource inByteSource,
int inNumValues,
ByteOrder inByteOrder)
Returns a short[] derived from the specified ByteSource.
|
static String |
ByteUtil.getString(ByteSource inByteSource,
int inLength)
Returns a String from the current position of the specified ByteSource.
|
jataylor@hairyfatguy.com