httk.core.datastream.bytestream_api¶
Classes¶
Abstract base class for a bare minimum API for streamable byte data. |
Module Contents¶
- class httk.core.datastream.bytestream_api.BytestreamAPI[source]¶
Bases:
abc.ABCAbstract base class for a bare minimum API for streamable byte data.
Supports: * read, close, name, and closed with the meanings defined by io.IOBase
Since it is a minimal streaming data API it deliberately omits: seek, tell, etc.; there should be no assumption that the underlying data source is seekable. However, many backend implementations may choose to support them.