public class AsciiInterpreter extends java.lang.Object implements Interpreter
Modifier and Type | Field and Description |
---|---|
static AsciiInterpreter |
INSTANCE
An instance of this Interpreter.
|
Constructor and Description |
---|
AsciiInterpreter() |
Modifier and Type | Method and Description |
---|---|
int |
getPackedLength(int nDataUnits)
(non-Javadoc)
|
void |
interpret(java.lang.String data,
byte[] b,
int offset)
(non-Javadoc)
|
java.lang.String |
uninterpret(byte[] rawData,
int offset,
int length)
(non-Javadoc)
|
public static final AsciiInterpreter INSTANCE
public void interpret(java.lang.String data, byte[] b, int offset)
interpret
in interface Interpreter
public java.lang.String uninterpret(byte[] rawData, int offset, int length)
uninterpret
in interface Interpreter
rawData
- The interpreted data.offset
- The index in rawData to start interpreting at.length
- The number of data units to interpret.public int getPackedLength(int nDataUnits)
getPackedLength
in interface Interpreter