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:
- streamAn InputStream or OutputStream, respectively
- codecA- Codec, either a Codec instance or a string
- compression_levelcompression level for when the- codecargument is given as a string
Methods
Methods are inherited from InputStream and OutputStream, respectively