-
Notifications
You must be signed in to change notification settings - Fork 56
MTY_BytesToBase64
chrisd1100 edited this page Aug 25, 2022
·
1 revision
Convert bytes to a Base64 string.
This function will safely truncate overflows with a null character.
void MTY_BytesToBase64(
const void * bytes,
size_t size,
char * base64,
size_t base64Size
);
bytes
(const void *
)
Input buffer.
size
(size_t
)
Size in bytes of bytes
.
base64
(char *
)
Base64 string output buffer.
base64Size
(size_t
)
Size in bytes of base64
.