(self, data)
Write a data record to tape.
Write a data record to tape.
Write a data record to tape .
def _write_record(self, data):
        """Write a data record to tape."""
        self.bitstream.write_leader()
        while len(data) > 0:
            self._write_block(data[:256])
            data = data[256:]
        self.bitstream.write_trailer()
        # write 100 ms pause to make clear separation between blocks
        self.bitstream.write_pause(100)
def _write_record ( self , data ) : self . bitstream . write_leader ( ) while len ( data ) > 0 : self . _write_block ( data [ : 256 ] ) data = data [ 256 : ] self . bitstream . write_trailer ( ) # write 100 ms pause to make clear separation between blocks self . bitstream . write_pause ( 100 )