TrieSnapshotKeyBufferSize Function

Returns the buffer size required to store a given key. That is, it returns the length of the key plus one.

int TrieSnapshotKeyBufferSize(Handle snapshot, int index)


Handle snapshot

Map snapshot.

int index

Key index (starting from 0).

Return Value

Buffer size required to store the key string.


Invalid Handle or index out of range.