nn::util::Base64::FromBase64String Member Functionstatic nn::Result FromBase64String( const char * pSrc, void * pDst, size_t sizeDst, size_t * pNum );
| Name | Description | |
|---|---|---|
| in | pSrc |
Pointer to base-64 format string entry. |
| out | pDst | Pointer to buffer for storing the output data. |
| in | sizeDst | Size of the buffer specified by pDst. |
| out | pNum | Pointer storing the number of characters actually output. |
Converts a base-64 format string into binary data.
The number of bytes written to the destination buffer is written to *pNum.
This function parses the entered string according to the following rules:
One of the following errors is returned when the conversion fails:
nn::util::ResultInvalidPtr - Pointer given as a parameter is invalid.nn::util::ResultBadData - The format of the entered string is invalid.nn::util::ResultBufferFull - The output destination buffer is not large enough.CONFIDENTIAL