public class TGZIPInputStream extends TInflaterInputStream
Modifier and Type | Field and Description |
---|---|
protected TCRC32 |
crc |
protected boolean |
eos |
static int |
GZIP_MAGIC |
buf, inf, len
in
Constructor and Description |
---|
TGZIPInputStream(InputStream is) |
TGZIPInputStream(InputStream is,
int size) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
int |
read(byte[] buffer,
int off,
int nbytes) |
available, fill, mark, markSupported, read, reset, skip
read
public static final int GZIP_MAGIC
protected TCRC32 crc
protected boolean eos
public TGZIPInputStream(InputStream is) throws IOException
IOException
public TGZIPInputStream(InputStream is, int size) throws IOException
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class TInflaterInputStream
IOException
public int read(byte[] buffer, int off, int nbytes) throws IOException
read
in class TInflaterInputStream
IOException
Copyright © 2019. All rights reserved.