Turnstone Operating System
Loading...
Searching...
No Matches
base64.64.c File Reference

base64 encoder decoder implementation More...

#include <base64.h>
#include <memory.h>

Macros

#define NEWLINE_INVL   76
 

Functions

 MODULE ("turnstone.lib")
 
uint8_t byte64_convert (uint8_t ch)
 
size_t base64_encode (const uint8_t *in, size_t len, boolean_t add_newline, uint8_t **out)
 
size_t base64_decode (const uint8_t *in, size_t len, uint8_t **out)
 

Variables

static const uint8_t charset [] = {"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"}
 

Detailed Description

base64 encoder decoder implementation

This work is licensed under TURNSTONE OS Public License. Please read and understand latest version of Licence.