| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private int | |
| private InputStream |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public ByteReader | |
| public void | close()
Overrides java. Implements java. Closes this input stream and releases any system resources associated with the stream. |
| public int | |
| public int | read(byte[] b, int off, int len)
Overrides java. Reads up to |
| public int | read()
Implements abstract java. Reads the next byte of data from the input stream. |
| public long | |
| public long | |
| public long | |
| public long | |
| public long | |
| public long | |
| public long | |
| public String | |
| public String | |
| public String | |
| public boolean |
| le | back to summary |
|---|---|
| private boolean le | |
| pos | back to summary |
|---|---|
| private int pos | |
| stream | back to summary |
|---|---|
| private InputStream stream | |
| ByteReader | back to summary |
|---|---|
| public ByteReader(InputStream in) | |
| changeEndiannes | back to summary |
|---|---|
| public ByteReader changeEndiannes() | |
| close | back to summary |
|---|---|
| public void close() throws IOException Overrides java. Implements java. Doc from java. Closes this input stream and releases any system resources associated with the stream.
| |
| getPosition | back to summary |
|---|---|
| public int getPosition() | |
| read | back to summary |
|---|---|
| public int read(byte[] b, int off, int len) throws IOException Overrides java. Doc from java. Reads up to This method blocks until input data is available, end of file is detected, or an exception is thrown. If The first byte read is stored into element In every case, elements
| |
| read | back to summary |
|---|---|
| public int read() throws IOException Implements abstract java. Doc from java. Reads the next byte of data from the input stream. The value byte is
returned as an
| |
| read2bytes | back to summary |
|---|---|
| public long read2bytes() throws IOException | |
| read3bytes | back to summary |
|---|---|
| public long read3bytes() throws IOException | |
| read4bytes | back to summary |
|---|---|
| public long read4bytes() throws IOException | |
| read5bytes | back to summary |
|---|---|
| public long read5bytes() throws IOException | |
| read6bytes | back to summary |
|---|---|
| public long read6bytes() throws IOException | |
| read7bytes | back to summary |
|---|---|
| public long read7bytes() throws IOException | |
| read8bytes | back to summary |
|---|---|
| public long read8bytes() throws IOException | |
| readString | back to summary |
|---|---|
| public String readString(int sz) throws IOException reads 0-terminated string in default code page
| |
| readUnicodeString | back to summary |
|---|---|
| public String readUnicodeString(int sz) throws IOException reads 0-terminated string in unicode
| |
| readUnicodeString | back to summary |
|---|---|
| public String readUnicodeString() throws IOException reads unicode string that has 2 bytes at start indicates length of string | |
| seek | back to summary |
|---|---|
| public boolean seek(int n) throws IOException | |