native
TrieSnapshotKeyBufferSize
Syntax
native TrieSnapshotKeyBufferSize(Snapshot:handle, index);
Description
Returns the buffer size required to store a given key. That is, it returns
the length of the key plus one.
Parameters
| handle | Map snapshot handle |
|---|---|
| index | Key index (starting from 0) |
Return
Buffer size required to store the key string
Error
If an invalid handle is provided an error will be
thrown. or index out of range