An input stream object that uses zlib to compress (deflate) data to another destination stream on-the-fly.
Attach an OCompressStream to an existing ostream that will accept compressed data, and write your uncompressed source data to the OCompressStream.
Seeking is not supported.
__init__() → None¶
__init__(dest: ostream, owns_dest: bool, compression_level: int) → None
open(dest: ostream, owns_dest: bool, compression_level: int) → OCompressStream¶
- Return type