'Verify a pack stream and write it to the output file.
See PackStreamReader.iterobjects for a list of exceptions this may
throw.'

def verify(self):

    if self._delta_iter:
        for unpacked in self.read_objects():
            self._delta_iter.record(unpacked)
    else:
        for _ in self.read_objects():
            pass
