Signature
native bool:TrieIterGetString(TrieIter:handle, buffer[], outputsize, &size = 0);
Description
Retrieves a string at the current position of the iterator.
Parameters
- handle — Iterator handle
- buffer — Buffer to store the string in
- outputsize — Maximum size of string buffer
- size — Optional parameter to store the number of bytes written to the buffer.
Returns
True on success, false if the iterator is empty or the current value
is not a string.
Errors
-
Invalid handle
Invalid buffer size
Iterator has been closed (underlying map destroyed)
Iterator is outdated