ToBase64String

nn::util::Base64::ToBase64String Member Function

Syntax

static nn::Result ToBase64String(
     const void * pSrc,
     size_t sizeSrc,
     char * pDst,
     size_t sizeDst
);

Parameters

Name Description
in pSrc Pointer to the input data.
in sizeSrc Size of the input data.
out pDst Pointer to the destination buffer for the base-64 format string.
in sizeDst Size of the buffer specified by pDst.

Return Values

Returns an indication of whether the conversion was successful.

Description

Converts the entered binary data into a base-64 format string.

This function outputs a string created in the following way:

One of the following errors is returned if conversion fails:

The conversion process proceeds until failure occurs.

Revision History

2011/12/19
Initial version.

CONFIDENTIAL