| Modifier and Type | Method and Description |
|---|---|
| public byte | Returns: The byte at the current cursor position.Read a byte at the current cursor position. |
| public int | |
| public long | Returns: The long at the current cursor position.Read a long at the current cursor position. |
| public short | Returns: The short at the current cursor position.Read a short at the current cursor position. |
| public String | Returns: The string.The number of bytes of the UTF8 encoding of the string. numBytes, final boolean If true, replace '/' with '.'. replaceSlashWithDot, final boolean If true, string final ';' character. stripLSemicolon)Reads the "modified UTF8" format defined in the Java classfile spec, optionally replacing '/' with '.', and optionally removing the prefix "L" and the suffix ";". |
| public String | Returns: The string.The number of bytes of the UTF8 encoding of the string. numBytes)Reads the "modified UTF8" format defined in the Java classfile spec. |
| public int | Returns: The unsigned byte at the current cursor position.Read an unsigned byte at the current cursor position. |
| public long | Returns: The int at the current cursor position, as a long.Read a unsigned int at the current cursor position. |
| public int | Returns: The unsigned shortat the current cursor position.Read a unsigned short at the current cursor position. |
| public void |
| readByte | back to summary |
|---|---|
| public byte readByte() throws IOException Read a byte at the current cursor position.
| |
| readInt | back to summary |
|---|---|
| public int readInt() throws IOException Read a int at the current cursor position.
| |
| readLong | back to summary |
|---|---|
| public long readLong() throws IOException Read a long at the current cursor position.
| |
| readShort | back to summary |
|---|---|
| public short readShort() throws IOException Read a short at the current cursor position.
| |
| readString | back to summary |
|---|---|
| public String readString(final int numBytes, final boolean replaceSlashWithDot, final boolean stripLSemicolon) throws IOException Reads the "modified UTF8" format defined in the Java classfile spec, optionally replacing '/' with '.', and optionally removing the prefix "L" and the suffix ";".
| |
| readString | back to summary |
|---|---|
| public String readString(final int numBytes) throws IOException Reads the "modified UTF8" format defined in the Java classfile spec.
| |
| readUnsignedByte | back to summary |
|---|---|
| public int readUnsignedByte() throws IOException Read an unsigned byte at the current cursor position.
| |
| readUnsignedInt | back to summary |
|---|---|
| public long readUnsignedInt() throws IOException Read a unsigned int at the current cursor position.
| |
| readUnsignedShort | back to summary |
|---|---|
| public int readUnsignedShort() throws IOException Read a unsigned short at the current cursor position.
| |
| skip | back to summary |
|---|---|
| public void skip(final int bytesToSkip) throws IOException Skip the given number of bytes.
| |