httk.core.datastream.bytestream_common¶
Classes¶
Common superclass for many of the implementations of backends for streaming byte data. |
Module Contents¶
- class httk.core.datastream.bytestream_common.BytestreamCommon¶
Bases:
abc.ABCCommon superclass for many of the implementations of backends for streaming byte data.
- unwrap()¶
Return the currently opened underlying stream.
- Returns:
The stream used for reading and writing data.
- Return type:
- read(size=-1)¶
Read up to
sizebytes, or all remaining bytes whensizeis negative.
- close()¶
Close the opened stream and any source stream owned by it.
- seek(offset, whence=os.SEEK_SET)¶
Move the stream position.