def byte_align(self):
        """Skip ahead to the next whole-byte boundary in the stream."""
        if self._bit_offset > 0:
            self._bit_offset = 0
            self._byte_offset += 1
            self._byte = ord(self._data[self._byte_offset])
Skip ahead to the next whole-byte boundary in the stream.
tools/compress_memory_initializer.py