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