def get_key(self): ''' Get the current key at the iterator :returns: The current key at the iterator ''' size = new_native_size() pointer = LDB.leveldb_iter_key(self.iterator, get_reference_to(size)) return as_python_string(pointer, size)