libtcspc.BinaryFileOutputStream¶
- final class libtcspc.BinaryFileOutputStream(filename, *, truncate=False, append=False)[source]¶
Bases:
OutputStreamBinary output stream that writes to a file on disk.
- Parameters:
Notes
The file is opened with unbuffered I/O. Failure to open the file is reported when the upstream
WriteBinaryStreamperforms its first write.See also
- tcspc::binary_file_output_stream()
The underlying C++ output stream.
WriteBinaryStreamProcessor that consumes this stream.