public class RpcGZIPInputStream
extends com.jcraft.jzlib.InflaterInputStream
Note that the Perforce version of the GZIP stream dispenses with headers and trailers, but is otherwise fairly standard (which is why this works).
| Constructor and Description |
|---|
RpcGZIPInputStream(java.io.InputStream in) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
read() |
int |
read(byte[] bytes) |
int |
read(byte[] bytes,
int offset,
int len) |
public RpcGZIPInputStream(java.io.InputStream in)
throws java.io.IOException
java.io.IOExceptionpublic int read(byte[] bytes)
throws java.io.IOException
read in class java.io.FilterInputStreamjava.io.IOExceptionpublic int read(byte[] bytes,
int offset,
int len)
throws java.io.IOException
read in class com.jcraft.jzlib.InflaterInputStreamjava.io.IOExceptionpublic int read()
throws java.io.IOException
read in class com.jcraft.jzlib.InflaterInputStreamjava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class com.jcraft.jzlib.InflaterInputStreamjava.io.IOException