| Modifier and Type | Field and Description |
|---|---|
| pack-priv final DfsReader | |
| private final DfsPackFile | |
| private long |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Overrides java. Implements java. Closes this input stream and releases any system resources associated with the stream. |
| public int | read(byte[]
the buffer into which the data is read. b, int the start offset in array off, int b
at which the data is written.the maximum number of bytes to read. len)Overrides java. Reads up to |
| public int | read()
Implements abstract java. Reads the next byte of data from the input stream. |
| ctx | back to summary |
|---|---|
| pack-priv final DfsReader ctx | |
| pack | back to summary |
|---|---|
| private final DfsPackFile pack | |
| pos | back to summary |
|---|---|
| private long pos | |
| PackInputStream | back to summary |
|---|---|
| pack-priv PackInputStream(DfsPackFile pack, long pos, DfsReader ctx) throws IOException | |
| close | back to summary |
|---|---|
| public void close() Overrides java. Implements java. Doc from java. Closes this input stream and releases any system resources associated with the stream.
| |
| 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
| |