native

TrieSnapshotGetKey

Syntax

native TrieSnapshotGetKey(Snapshot:handle, index, buffer[], maxlength);

Description

Retrieves the key string of a given key in a map snapshot.

Parameters

handle Map snapshot handle
index Key index (starting from 0)
buffer String buffer
maxlength Maximum buffer length

Return

Number of bytes written to the buffer

Error

If an invalid handle is provided an error will be
thrown. or index out of range