class PackInputStream
extends java.io.InputStream
Modifier and Type | Field and Description |
---|---|
private PackFile |
pack |
private long |
pos |
private WindowCursor |
wc |
Constructor and Description |
---|
PackInputStream(PackFile pack,
long pos,
WindowCursor wc) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
private final WindowCursor wc
private final PackFile pack
private long pos
PackInputStream(PackFile pack, long pos, WindowCursor wc) 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