StreamReaderFile

class dsviper.StreamReaderFile(path)

Bases: object

A byte source over a file. It reads nothing itself: a codec reader (StreamBinaryReader and its siblings) built over stream_raw_reading() does.

close() → None

Close the file.

offset() → int

Return the current position in the file, in bytes.

stream_raw_reading() → StreamRawReading

Return the StreamRawReading interface.