codex
Loading...
Searching...
No Matches
base64.c File Reference
#include "base64.h"
#include <limits.h>
#include <stdlib.h>
Include dependency graph for base64.c:

Macros

#define B64(x)
 

Functions

static unsigned char to_uchar (char ch)
 
void base64_encode (const char *in, size_t inlen, char *out, size_t outlen)
 
size_t base64_encode_alloc (const char *in, size_t inlen, char **out)
 
bool isbase64 (char ch)
 
bool base64_decode (const char *in, size_t inlen, char *out, size_t *outlen)
 
bool base64_decode_alloc (const char *in, size_t inlen, char **out, size_t *outlen)
 

Variables

static const signed char b64 [0x100]
 

Macro Definition Documentation

◆ B64

#define B64 ( x)

Function Documentation

◆ base64_decode()

bool base64_decode ( const char * in,
size_t inlen,
char * out,
size_t * outlen )
Here is the call graph for this function:

◆ base64_decode_alloc()

bool base64_decode_alloc ( const char * in,
size_t inlen,
char ** out,
size_t * outlen )
Here is the call graph for this function:

◆ base64_encode()

void base64_encode ( const char * in,
size_t inlen,
char * out,
size_t outlen )
Here is the call graph for this function:

◆ base64_encode_alloc()

size_t base64_encode_alloc ( const char * in,
size_t inlen,
char ** out )
Here is the call graph for this function:

◆ isbase64()

bool isbase64 ( char ch)
Here is the call graph for this function:

◆ to_uchar()

static unsigned char to_uchar ( char ch)
inlinestatic

Variable Documentation

◆ b64

const signed char b64[0x100]
static