buffer_base64_decode(str)
Revision as of 03:25, 13 September 2013 by RobertBColton (talk | contribs)
Description
Decodes an encoded base64 string into a newly created dynamically allocated grow buffer and returns the index.
Parameters
Parameter | Data Type | Description |
---|---|---|
str | string | the base64 string to decode |
Return Values
integer: Returns the index of the buffer created and filled with the decoded string.
Example Call
// demonstrates decoding a base64 encoded registration key from an ini file
var buff;
ini_open("settings.ini");
buff = buffer_base64_decode(ini_read_string("RegKey", "Main", ""));
ini_close();