native

TrieIterGetKey

Syntax

native TrieIterGetKey(TrieIter:handle, key[], outputsize);

Description

Retrieves the key the iterator currently points to.

Parameters

handle Iterator handle.
key Buffer to store the current key in.
outputsize Maximum size of string buffer.

Return

Nnumber of bytes written to the buffer

Error

Invalid handle
Iterator has been closed (underlying map destroyed)
Iterator is outdated