StreamRawReading

class dsviper.StreamRawReading

Bases: object

An opaque handle on a byte source, whose one operation is size().

StreamReaderBlob.stream_raw_reading() and its siblings answer one, and a codec reader is built over it. The typed reads live on StreamReading.

Note: Not directly instantiable.

size() → int

Return the total number of bytes in the stream.