zlib_transformer
messageflux.iodevices.transformer_device_wrapper.zlib_transformer
ZLIBTransformer
Bases: InputTransformerBase, OutputTransformerBase
This class uses zlib to compress data before sending it to the underlying device, and decompress data coming out of the underlying device, if necessary.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
level |
int
|
the compression level for zlib. only matters for outgoing messages |
-1
|