5MP Motion Camera  1.1.1.1
A waterproof, low power, battery operated, motion activated, 5 mega-pixel, WiFi camera.
base64.cpp File Reference
#include "base64.h"

Functions

void a3_to_a4 (unsigned char *a4, unsigned char *a3)
 
void a4_to_a3 (unsigned char *a3, unsigned char *a4)
 
unsigned char b64_lookup (char c)
 
int base64_encode (char *output, char *input, int inputLen)
 
int base64_decode (char *output, char *input, int inputLen)
 
int base64_enc_len (int plainLen)
 
int base64_dec_len (char *input, int inputLen)
 

Variables

const char b64_alphabet []
 

Function Documentation

◆ a3_to_a4()

void a3_to_a4 ( unsigned char *  a4,
unsigned char *  a3 
)
inline

◆ a4_to_a3()

void a4_to_a3 ( unsigned char *  a3,
unsigned char *  a4 
)
inline

◆ b64_lookup()

unsigned char b64_lookup ( char  c)
inline

◆ base64_dec_len()

int base64_dec_len ( char *  input,
int  inputLen 
)

◆ base64_decode()

int base64_decode ( char *  output,
char *  input,
int  inputLen 
)

◆ base64_enc_len()

int base64_enc_len ( int  plainLen)

◆ base64_encode()

int base64_encode ( char *  output,
char *  input,
int  inputLen 
)

Variable Documentation

◆ b64_alphabet

const char b64_alphabet[]
Initial value:
= "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
"abcdefghijklmnopqrstuvwxyz"
"0123456789+/"