Modifier and Type | Field and Description |
---|---|
private byte | |
private BufferedInputStream | |
private boolean |
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public void | |
private void | |
private boolean | |
public long | |
public boolean | parseBoolean()
Parses a boolean (really either a 0 or 1 integer in US-ASCII encoding) on the input stream |
public int | |
public long | |
private void | |
public byte | |
private byte | |
public void | |
public String | |
public char | |
public String | |
public long | |
public void | |
private void |
backBuf | back to summary |
---|---|
private byte backBuf |
in | back to summary |
---|---|
private BufferedInputStream in |
pushedBack | back to summary |
---|---|
private boolean pushedBack |
InputLexer | back to summary |
---|---|
public InputLexer(BufferedInputStream in) throws IOException |
close | back to summary |
---|---|
public void close() throws IOException |
error | back to summary |
---|---|
private void error() throws IOException |
isHexDigit | back to summary |
---|---|
private boolean isHexDigit(char c) |
parseAddress | back to summary |
---|---|
public long parseAddress() throws IOException Parses an address in the form 0x12345678 in US-ASCII encoding on the input stream |
parseBoolean | back to summary |
---|---|
public boolean parseBoolean() throws IOException Parses a boolean (really either a 0 or 1 integer in US-ASCII encoding) on the input stream |
parseInt | back to summary |
---|---|
public int parseInt() throws IOException Parses an int in US-ASCII encoding on the input stream |
parseLong | back to summary |
---|---|
public long parseLong() throws IOException Parses a long in US-ASCII encoding on the input stream |
pushBack | back to summary |
---|---|
private void pushBack(byte b) |
readByte | back to summary |
---|---|
public byte readByte() throws IOException Reads binary data; one byte |
readByteInternal | back to summary |
---|---|
private byte readByteInternal() throws IOException |
readBytes | back to summary |
---|---|
public void readBytes(byte[] buf, int off, int len) throws IOException Reads a block of binary data in BLOCKING fashion |
readByteString | back to summary |
---|---|
public String readByteString(int len) throws IOException Reads binary data; a US-ASCII string of the specified length |
readChar | back to summary |
---|---|
public char readChar() throws IOException Reads binary data; one 16-bit character in big-endian format |
readCharString | back to summary |
---|---|
public String readCharString(int len) throws IOException Reads binary data; a Unicode string of the specified length |
readUnsignedInt | back to summary |
---|---|
public long readUnsignedInt() throws IOException Reads binary data; one 32-bit unsigned int in big-endian format. Returned as a long. |
skipByte | back to summary |
---|---|
public void skipByte() throws IOException |
skipWhitespace | back to summary |
---|---|
private void skipWhitespace() throws IOException |