static int Base64ToByteArray( const String & strSrc, qByte * pbDest, qUnsignedInt32 uiDestLength );
Name | Description | |
---|---|---|
in | strSrc |
The input base64 string. |
out | pbDest |
Pointer to the buffer for storing the output data. |
in | uiDestLength |
Size of the buffer specified by pbDest . |
Value | Description |
---|---|
-1 | Conversion failed. (The output buffer is not big enough. Not a base64 string.) |
Other | Buffer size after conversion. |
Converts a base-64 format into binary data.
If NULL
is specified for pbDest
, the function returns the (theoretical) required size of pbDest
for conversion and does not actually convert the data.
CONFIDENTIAL