httk.core.datastream.bytestream_bytes_view¶
Classes¶
A view presenting underlying streaming byte data as bytes. |
Module Contents¶
- class httk.core.datastream.bytestream_bytes_view.BytestreamBytesView(obj, **hints)¶
Bases:
httk.core.datastream.bytestream_view.BytestreamView,bytesA view presenting underlying streaming byte data as bytes. This view can be used both to pass bytes in place of streaming data, and for reading streaming data into bytes. Note: this view is not lazy (this is impossible for views inheriting bytes, since bytes is immutable), hence all streaming data is read immediately upon creating this view.
- Parameters:
obj (httk.core.datastream.bytestream_like.BytestreamLike) – Byte-stream source to present or consume.
**hints (Any) – Backend-selection and compression hints.
- unwrap()¶
Return the raw representation of the wrapped backend.
- Returns:
The backend’s most raw available representation.
- Return type:
Any