public class OEBase
extends java.lang.Object
| Constructor and Description |
|---|
OEBase() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
toInt(byte[] data,
int i)
Converts 4 bytes directly to an int (big endian).
|
protected int |
toInt2(byte[] data,
int i)
Converts 2 bytes to an int (technically a short in an int).
|
protected int |
toInt3(byte[] data,
int i)
Converts 3 bytes to an int.
|
protected int |
toInt4(byte[] data,
int i)
Converts 4 bytes to an int (little endian).
|
protected int[] |
toInt8(byte[] data,
int i)
Converts 8 bytes to an array of 2 ints.
|
protected java.lang.String |
toString(byte[] data,
int i)
Reads a string from data, starting at index i.
|
protected int toInt(byte[] data,
int i)
data - data array to readi - index to start fromprotected int toInt2(byte[] data,
int i)
data - data array to readi - index to start fromprotected int toInt3(byte[] data,
int i)
data - data array to readi - index to start fromprotected int toInt4(byte[] data,
int i)
data - data array to readi - index to start fromprotected int[] toInt8(byte[] data,
int i)
data - data array to readi - index to start fromprotected java.lang.String toString(byte[] data,
int i)
data - data array to readi - index to start fromString containing the read data string