Class RpcGZIPInputStream

java.lang.Object
java.io.InputStream
java.io.FilterInputStream
com.jcraft.jzlib.InflaterInputStream
com.perforce.p4java.impl.mapbased.rpc.stream.RpcGZIPInputStream
All Implemented Interfaces:
Closeable, AutoCloseable

public class RpcGZIPInputStream extends com.jcraft.jzlib.InflaterInputStream
A lightweight wrapper around the JZlib ZIP input stream for processing compressed streams being sent from Perforce servers when the client "client compress" mode is enabled.

Note that the Perforce version of the GZIP stream dispenses with headers and trailers, but is otherwise fairly standard (which is why this works).