Vuo  1.2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
VuoBase64.h File Reference

Description

VuoBase64 interface.

Functions

char * VuoBase64_encode (long long length, char const *data)
 Converts data (raw 8-bit binary data) into ASCII Base64 text with a null-terminator.
 
char * VuoBase64_decode (char const *text, long long *outputLength)
 Converts text (ASCII Base64 text) into raw 8-bit binary data, and outputs the number of decoded bytes in outputLength.
 

Function Documentation

char* VuoBase64_decode ( char const *  encoded_string,
long long *  outputLength 
)

Converts text (ASCII Base64 text) into raw 8-bit binary data, and outputs the number of decoded bytes in outputLength.

The caller is responsible for freeing the returned string.

char* VuoBase64_encode ( long long  in_len,
char const *  bytes_to_encode 
)

Converts data (raw 8-bit binary data) into ASCII Base64 text with a null-terminator.

The caller is responsible for freeing the returned string.