final class PackInputStream
extends java.io.InputStream
Modifier and Type | Field and Description |
---|---|
(package 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) |
final DfsReader ctx
private final DfsPackFile pack
private long pos
PackInputStream(DfsPackFile pack, long pos, DfsReader ctx) throws java.io.IOException
java.io.IOException
public int read(byte[] b, int off, int len) throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public int read() throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public void close()
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.InputStream