GetString

Last Updated2014-11-15
Created At2014-07-13

Retrieves a string in a Map.

native bool GetString(const char[] key, char[] value, int max_size, int& size = 0)

Parameters

const char[] key
Key string.
char[] value
Buffer to store value.
int max_size
Maximum size of string buffer.
int& size
Optional parameter to store the number of bytes written to the buffer.

Return Value

bool True on success. False if the key is not set, or the key is set as a value or array (not a string).