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.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