TrieSnapshotGetKey

Синтаксис

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

Употреба

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

Описание

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

Връщаща стойност

Number of bytes written to the buffer

Грешка

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