httk.core.datastream.textstream_string_view¶
Classes¶
A view presenting an underlying data streaming as a string. |
Module Contents¶
- class httk.core.datastream.textstream_string_view.TextstreamStringView(obj, **hints)[source]¶
Bases:
httk.core.datastream.textstream_view.TextstreamView,strA view presenting an underlying data streaming as a string. This view can be used both to pass a string in place of streaming data, and for reading streaming data into a string. Note: this view is not lazy (this is impossible for views inherting str, since str is immutable), hence all the streaming data is read immedately upon creating this view.
- Parameters:
obj (httk.core.datastream.textstream_like.TextstreamLike) – Text-stream source to present or consume.
**hints (Any) – Backend-selection and compression hints.