(self)
Write trailing wave.
Write trailing wave.
Write trailing wave .
def write_trailer(self):
        """Write trailing wave."""
        # closing sequence is 30 1-bits followed by a zero bit (based on PCE output).
        # Not 32 1-bits as per http://fileformats.archiveteam.org/wiki/IBM_PC_data_
        for _ in range(30):
            self.write_bit(1)
        self.write_bit(0)
def write_trailer ( self ) : # closing sequence is 30 1-bits followed by a zero bit (based on PCE output). # Not 32 1-bits as per http://fileformats.archiveteam.org/wiki/IBM_PC_data_ for _ in range ( 30 ) : self . write_bit ( 1 ) self . write_bit ( 0 )