public interface Interpreter
Modifier and Type | Method and Description |
---|---|
int |
getPackedLength(int nDataUnits)
Returns the number of bytes required to interpret a String of length
nDataUnits.
|
void |
interpret(java.lang.String data,
byte[] b,
int offset)
Converts the string data into a different interpretation.
|
java.lang.String |
uninterpret(byte[] rawData,
int offset,
int length)
Converts the byte array into a String.
|
void interpret(java.lang.String data, byte[] b, int offset) throws ISOException
ISOException
- on errorjava.lang.String uninterpret(byte[] rawData, int offset, int length) throws ISOException
rawData
- The interpreted data.offset
- The index in rawData to start interpreting at.length
- The number of data units to interpret.ISOException
- on errorint getPackedLength(int nDataUnits)