cbadc.utilities.write_byte_stream_to_file

cbadc.utilities.write_byte_stream_to_file(filename: str, iterator: Iterator[bytes])[source]

Write a stream into binary file.

Parameters
  • filename (str) – filename for output file

  • iterator ([bytes]) – an iterator of bytes to write to file