protected class BinaryFormatConverter.Input
extends java.lang.Object
| Constructor and Description |
|---|
Input(byte[] data) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getByteArrayFromConstants(int ptr) |
java.lang.String |
getStringFromConstants(int ptr) |
BinaryFormatConverter.Input |
getSubstructureData(int offset,
int length) |
int |
len()
Returns length of substructure
|
byte |
readByte(int posInStructure) |
int |
readInt(int posInStructure)
Read an integer at offset
posInStructure in the currently selected substructure. |
public java.lang.String getStringFromConstants(int ptr)
public byte[] getByteArrayFromConstants(int ptr)
public int readInt(int posInStructure)
posInStructure in the currently selected substructure.posInStructure - offset to read integer fromjava.lang.IndexOutOfBoundsException - if the position is out of bounds of this input's datapublic byte readByte(int posInStructure)
public BinaryFormatConverter.Input getSubstructureData(int offset, int length)
public int len()