net.i2p.util
public class ResettableGZIPInputStream extends InflaterInputStream
buf, inf, len
in
Constructor and Description |
---|
ResettableGZIPInputStream()
Build a new GZIP stream without a bound compressed stream.
|
ResettableGZIPInputStream(InputStream compressedStream) |
Modifier and Type | Method and Description |
---|---|
(package private) long |
getCurrentCRCVal() |
void |
initialize(InputStream compressedStream)
Blocking call to initialize this stream with the data from the given
compressed stream.
|
int |
read() |
int |
read(byte[] buf) |
int |
read(byte[] buf,
int off,
int len) |
(package private) void |
verifyFooter() |
available, close, fill, mark, markSupported, reset, skip
public ResettableGZIPInputStream()
public ResettableGZIPInputStream(InputStream compressedStream) throws IOException
IOException
public void initialize(InputStream compressedStream) throws IOException
IOException
public int read() throws IOException
read
in class InflaterInputStream
IOException
public int read(byte[] buf) throws IOException
read
in class FilterInputStream
IOException
public int read(byte[] buf, int off, int len) throws IOException
read
in class InflaterInputStream
IOException
long getCurrentCRCVal()
void verifyFooter() throws IOException
IOException