httk.core.datastream.bytestream_file¶
Classes¶
Backend for file-based (io.IOBase-conforming) streaming byte data. |
Module Contents¶
- class httk.core.datastream.bytestream_file.BytestreamFile(obj, **hints)¶
Bases:
httk.core.datastream.bytestream_common.BytestreamCommon,httk.core.datastream.bytestream_backend.BytestreamBackendBackend for file-based (io.IOBase-conforming) streaming byte data. Compressed content is transparently decompressed according to the compression hint.
- Parameters:
obj (io.IOBase) – Open binary stream to adopt and close with this backend.
**hints (Any) – Backend-selection and compression hints.
- Raises:
ValueError – If the compression hint is unknown.