buffer_base64_decode_ext(buffer,str,offset)

From ENIGMA

Jump to: navigation, search

Description

Decodes an encoded base64 string into the given buffer at the given offset.

Parameters

Parameter Data Type Description
buffer integer index of the buffer to decode the string into
str string the base64 string to decode
offset unsigned offset into the buffer to copy the decoded string at, in bytes

Return Values

void: This function does not return anything.

Example Call

// demonstrates decoding a base64 encoded registration key from an ini file
var buff;
buff = buffer_create(16384, buffer_grow, 2);
ini_open("settings.ini");
buffer_base64_decode_ext(buff, ini_read_string("RegKey", "Main", ""), 0);
ini_close();
Personal tools
Namespaces
Variants
Actions
Navigation
ENIGMA
Other
Toolbox