class documentation
class PassthroughCompressor(object):
A compressor-like object that does not compress.
Should be thread safe.
| Method | __init__ |
Undocumented |
| Method | compress |
"Compress" the data, returning the "compressed" data. |
| Method | flush |
Finish the compression, returning all remaing "compressed" data. |
| Instance Variable | _flush |
Undocumented |
Finish the compression, returning all remaing "compressed" data.
| Returns | |
bytes | an empty bytestring |
| Raises | |
ValueError | when called more than once. |