code: def native(self):
          
  
          if self.contents is None:
              return None
  
          if self._native is None:
              extra_bits = int_from_bytes(self.contents[0:1])
              # Fast path
              if not self._indefinite and extra_bits == 0:
                  self._native = int_from_bytes(self.contents[1:])
              else:
                  if self._indefinite and extra_bits > 0:
                      raise ValueError('Constructed bit string has extra bits on indefinite container')
                  self._native = int(self._merge_chunks(), 2)
          return self._native
docs: The native Python datatype representation of this value
  
          :return:
              An integer or None