Name
hw_DecodeBase64 -- decode Base64 data (V6.0)
Synopsis
int ok = hw_DecodeBase64(UBYTE *src, int srclen, UBYTE *dst, int *dstlen,
                             struct hwTagList *tags);
Function
This function decodes Base64 data stored in the src memory buffer to the memory buffer passed in the dst parameter. Make sure that the dst buffer is large enough to hold the decoded data. On success, hw_DecodeBase64() will return True, otherwise False.

Designer compatibility
Supported since Designer 5.0

Inputs
src
pointer to Base64 encoded data
srclen
length of Base64 data
dst
buffer to receive the decoded Base64 data
dstlen
pointer to an int which will receive the length of the decoded data
tags
reserved for future use, pass NULL for now
Results
ok
True for success, False if there was a decoding error

Show TOC