Loading...
Searching...
No Matches
base64.h
Go to the documentation of this file.
#pragma once
#include <stddef.h>
#ifdef __cplusplus
extern "C" {
#endif
int osmo_base64_encode(unsigned char *dst, size_t dlen, size_t *olen,
const unsigned char *src, size_t slen);
int osmo_base64_decode(unsigned char *dst, size_t dlen, size_t *olen,
const unsigned char *src, size_t slen);
#ifdef __cplusplus
}
#endif
osmo_base64_decode
int osmo_base64_decode(unsigned char *dst, size_t dlen, size_t *olen, const unsigned char *src, size_t slen)
Decode a base64-formatted buffer.
Definition base64.c:122
osmo_base64_encode
int osmo_base64_encode(unsigned char *dst, size_t dlen, size_t *olen, const unsigned char *src, size_t slen)
Encode a buffer into base64 format.
Definition base64.c:55