![]() |
WE310F5
39.00.000
|
This section describes the M2MB APIs for the BASE64 module. More...
INT32 | m2mb_base64_get_encoded_output_size (INT32 input_Size) |
Get encoded output size. More... | |
M2MB_STATUS_T | m2mb_base64_encode (const VOID *input_Buffer, INT32 input_Buffer_Size, CHAR *output_Buffer, INT32 output_Buffer_Size) |
Encode input data. More... | |
INT32 | m2mb_base64_get_decoded_output_size (INT32 input_Size) |
Get decoded output size. More... | |
INT32 | m2mb_base64_decode (const CHAR *input_Buffer, INT32 input_Buffer_Size, VOID *output_Buffer, INT32 output_Buffer_Size) |
Decode input data. More... | |
This section describes the M2MB APIs for the BASE64 module.
BASE64 module provides APIs to encode and decode the date using BASE64 encoding method.
INT32 m2mb_base64_decode | ( | const CHAR * | input_Buffer, |
INT32 | input_Buffer_Size, | ||
VOID * | output_Buffer, | ||
INT32 | output_Buffer_Size | ||
) |
Decode input data.
Decodes base64 encrypted data.
[in] | input_Buffer | Pointer to the base64 encrypted buffer to decode. |
[in] | input_Buffer_Size | Size of the base64 encrypted buffer to decode. |
[out] | output_Buffer | Pointer to the buffer where the decoded data is to be stored. |
[in] | output_Buffer_Size | Size of output_buffer. |
m2mb_base64_get_encoded_output_size( input_size );
M2MB_STATUS_T m2mb_base64_encode | ( | const VOID * | input_Buffer, |
INT32 | input_Buffer_Size, | ||
CHAR * | output_Buffer, | ||
INT32 | output_Buffer_Size | ||
) |
Encode input data.
Encodes data using base64 encoding.
[in] | input_Buffer | Pointer to the buffer to encode. |
[in] | input_Buffer_Size | Size of the buffer to encode. |
[out] | output_Buffer | Pointer to the buffer where the encoded data is to be stored. |
[in] | output_Buffer_Size | Size of output_Buffer. |
m2mb_base64_get_encoded_output_size( input_size );
Get decoded output size.
Returns the size of the buffer needed to store base64 decoded data, given the base64 encoded data size.
[in] | input_Size | Size of the base64 encoded data |
m2mb_base64_get_encoded_output_size( input_size );
Get encoded output size.
Returns the size of the base64 encoded buffer necessary to encode input_size bytes of data.
[in] | input_Size | Size of the input data. |
m2mb_base64_get_encoded_output_size( input_size );