#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include "tc.h"
#include "tc_internal.h"
Go to the source code of this file.
bytes_t* tc_b64_bytes |
( |
const char * |
s | ) |
|
- Parameters
-
[in] | s | a C string in the Base64 format. |
- Returns
- a bytes_t structure with the binary data in s.
Definition at line 144 of file algorithms_base64.c.
char* tc_bytes_b64 |
( |
const bytes_t * |
b | ) |
|
- Parameters
-
[in] | b | a bytes_t structure. |
- Returns
- a C string with the data of bytes serialized in the Base64 format.
Definition at line 140 of file algorithms_base64.c.