TrieSnapshotLength Function

Returns the number of keys in a map snapshot. Note that this may be different from the size of the map, since the map can change after the snapshot of its keys was taken.

int TrieSnapshotLength(Handle snapshot)

Parameters

Handle snapshot

Map snapshot.

Return Value

Number of keys.

Errors

Invalid Handle.