public class CodeInputStream
extends java.io.DataInputStream
Modifier and Type | Method and Description |
---|---|
int |
getCodePosition()
Get the code index of the current read position.
|
int |
getLineNumber()
Line number in the source code or -1 if not available
|
int |
readUnsignedIndex(boolean wide)
Read an unsigned index.
|
read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, readUTF, skipBytes
public int getCodePosition()
public int getLineNumber()
public int readUnsignedIndex(boolean wide) throws java.io.IOException
wide
- true, 2 byte indexjava.io.IOException
- if any I/O errors occur