libtcspc.BinaryFileInputStream¶
- final class libtcspc.BinaryFileInputStream(filename, *, start_offset=0)[source]¶
Bases:
InputStreamBinary input stream that reads from a file on disk.
- Parameters:
- Raises:
ValueError – If
start_offsetis a negative integer, or aParamwhosedefault_valueis negative.
Notes
The file is opened with unbuffered I/O. Failure to open the file, or a file shorter than
start_offset, is reported when the downstreamReadBinaryStreamperforms its first read.See also
- ReadBinaryStream
Processor that consumes this stream.
- tcspc::binary_file_input_stream()
The underlying C++ input stream.