CompressedInputStream
and CompressedOutputStream
allow you to apply a compression Codec to an
input or output stream.
Factory
The CompressedInputStream$create()
and CompressedOutputStream$create()
factory methods instantiate the object and take the following arguments:
stream
An InputStream or OutputStream, respectivelycodec
ACodec
, either a Codec instance or a stringcompression_level
compression level for when thecodec
argument is given as a string
Methods
Methods are inherited from InputStream and OutputStream, respectively