| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: The number of bytes actually read, or -1 if no more bytes could be read.The offset to start reading from. srcOffset, ByteBuffer The dstBuf, int ByteBuffer to write into.The offset within the destination buffer to start writing at. dstBufStart, int The number of bytes to read. numBytes)Read bytes into a |
| public int | Returns: The number of bytes actually read, or -1 if no more bytes could be read.The offset to start reading from. srcOffset, byte[] The byte array to write into. dstArr, int The offset within the destination array to start writing at. dstArrStart, int The number of bytes to read. numBytes)Read bytes into a byte array. |
| public byte | Returns: The byte at the offset.The buffer offset to read from. offset)Read a byte at a specific offset (without changing the current cursor offset). |
| public int | Returns: The int at the offset.The buffer offset to read from. offset)Read a int at a specific offset (without changing the current cursor offset). |
| public long | Returns: The long at the offset.The buffer offset to read from. offset)Read a long at a specific offset (without changing the current cursor offset). |
| public short | Returns: The short at the offset.The buffer offset to read from. offset)Read a short at a specific offset (without changing the current cursor offset). |
| public String | Returns: The string.The start offset of the string. offset, final int 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 start offset of the string. offset, final int 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 offset.The buffer offset to read from. offset)Read an unsigned byte at a specific offset (without changing the current cursor offset). |
| public long | Returns: The int at the offset, as a long.The buffer offset to read from. offset)Read a unsigned int at a specific offset (without changing the current cursor offset). |
| public int | Returns: The unsigned short at the offset.The buffer offset to read from. offset)Read a unsigned short at a specific offset (without changing the current cursor offset). |
| read | back to summary |
|---|---|
| public int read(long srcOffset, ByteBuffer dstBuf, int dstBufStart, int numBytes) throws IOException Read bytes into a
| |
| read | back to summary |
|---|---|
| public int read(long srcOffset, byte[] dstArr, int dstArrStart, int numBytes) throws IOException Read bytes into a byte array.
| |
| readByte | back to summary |
|---|---|
| public byte readByte(final long offset) throws IOException Read a byte at a specific offset (without changing the current cursor offset).
| |
| readInt | back to summary |
|---|---|
| public int readInt(final long offset) throws IOException Read a int at a specific offset (without changing the current cursor offset).
| |
| readLong | back to summary |
|---|---|
| public long readLong(final long offset) throws IOException Read a long at a specific offset (without changing the current cursor offset).
| |
| readShort | back to summary |
|---|---|
| public short readShort(final long offset) throws IOException Read a short at a specific offset (without changing the current cursor offset).
| |
| readString | back to summary |
|---|---|
| public String readString(final long offset, 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 long offset, final int numBytes) throws IOException Reads the "modified UTF8" format defined in the Java classfile spec.
| |
| readUnsignedByte | back to summary |
|---|---|
| public int readUnsignedByte(final long offset) throws IOException Read an unsigned byte at a specific offset (without changing the current cursor offset).
| |
| readUnsignedInt | back to summary |
|---|---|
| public long readUnsignedInt(final long offset) throws IOException Read a unsigned int at a specific offset (without changing the current cursor offset).
| |
| readUnsignedShort | back to summary |
|---|---|
| public int readUnsignedShort(final long offset) throws IOException Read a unsigned short at a specific offset (without changing the current cursor offset).
| |