GetTrieSnapshotKey Function

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

int GetTrieSnapshotKey(Handle snapshot, int index, char[] buffer, int maxlength)

Parameters

Handle snapshot

Map snapshot.

int index

Key index (starting from 0).

char[] buffer

String buffer.

int maxlength

Maximum buffer length.

Return Value

Number of bytes written to the buffer.

Errors

Invalid Handle or index out of range.