Syntax
VM_RESULT vm_ssl_base64_encode(
    VMBYTE* destination, 
    VMINT* destination_length, 
    const VMBYTE* source, 
    VMINT source_length
);
ContentsIndex
PreviousUpNext
vm_ssl_base64_encode
Syntax
VM_RESULT vm_ssl_base64_encode(
    VMBYTE* destination, 
    VMINT* destination_length, 
    const VMBYTE* source, 
    VMINT source_length
);
Description

This utility function encodes a buffer with base64 encoding. Call this function with *destination_length = 0 to obtain the required buffer size in *destination_length.

Parameters
Parameters 
Description 
VMBYTE* destination 
[OUT] destination buffer. 
VMINT* destination_length 
[OUT] size of the buffer. This parameter is always updated to reflect the amount of data that has (or would have) been written, even if the function fails. 
const VMBYTE* source 
[IN] source buffer. 
VMINT source_length 
[IN] amount of data to be encoded, in bytes. 
File

vmssl.h

Group
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.