Signature
native get_vaultdata(const key[], data[] = "", len = 0);
Description
Reads data from a given key.
Parameters
- key — Key to get the value from
- data — Buffer to copy the value to
-
len
—
Buffer size. If len is set to 0 then the function will
return the value as a number
Returns
If len is not 0 the function will return the number of characters written.
If len is 0 the function will return the numerical value associated with the key.