parameters: (self, bits)
docstring: Truncate bits from the start of the bitstring.
docstring_summary: Truncate bits from the start of the bitstring.
docstring_tokens: Truncate bits from the start of the bitstring .
function: def _truncatestart(self, bits):
          """Truncate bits from the start of the bitstring."""
          assert 0 <= bits <= self.len
          if not bits:
              return
          if bits == self.len:
              self._clear()
              return
          bytepos, offset = divmod(self._offset + bits, 8)
          self._setbytes_unsafe(self._datastore.getbyteslice(bytepos, self._datastore.bytelength), self.len - bits,
                                offset)
          assert self._assertsanity()
function_tokens: def _truncatestart ( self , bits ) : assert 0 <= bits <= self . len if not bits : return if bits == self . len : self . _clear ( ) return bytepos , offset = divmod ( self . _offset + bits , 8 ) self . _setbytes_unsafe ( self . _datastore . getbyteslice ( bytepos , self . _datastore . bytelength ) , self . len - bits , offset ) assert self . _assertsanity ( )