SU2
Macros | Functions
b64.c File Reference

This file contains some simple 8bit-to-6bit encoding/deconding routines. More...

#include "GKlib.h"

Macros

#define B64OFFSET   48 /* This is the '0' number */
 

Functions

void encodeblock (unsigned char *in, unsigned char *out)
 
void decodeblock (unsigned char *in, unsigned char *out)
 
void GKEncodeBase64 (int nbytes, unsigned char *inbuffer, unsigned char *outbuffer)
 
void GKDecodeBase64 (int nbytes, unsigned char *inbuffer, unsigned char *outbuffer)
 

Detailed Description

This file contains some simple 8bit-to-6bit encoding/deconding routines.

Most of these routines are outdated and should be converted using glibc's equivalent routines.

Date
Started 2/22/05
Author
George
Version
$Id: b64.c 10711 2011-08-31 22:23:04Z karypis $ 
$Copyright$ 
$License$