VgaGames4

VgaGames4 - miscellaneous man-pages

[.. upper level ..]

# vg4->misc->base64_encode()

Encode data into base64-data.

SYNTAX
void vg4->misc->base64_encode(char **encdata, size_t *encsize, const char *data, size_t size)
FUNCTION PARAMETERS

encdata | For returning encoded data
encsize | For returning number of bytes in encdata
data | Data to encode
size | Number of bytes in data

DESCRIPTION
Encode data into base64-data. encdata is allocated and must be freed with free().
SEE ALSO
vg4->misc->base64_decode()