final class PackInputStream
extends java.io.InputStream
| Modifier and Type | Field and Description |
|---|---|
private DfsReader |
ctx |
private DfsPackFile |
pack |
private long |
pos |
| Constructor and Description |
|---|
PackInputStream(DfsPackFile pack,
long pos,
DfsReader ctx) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
private final DfsReader ctx
private final DfsPackFile pack
private long pos
PackInputStream(DfsPackFile pack, long pos, DfsReader ctx) throws java.io.IOException
java.io.IOExceptionpublic int read(byte[] b,
int off,
int len)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic void close()
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.InputStream