Macros | Functions
b64.c File Reference

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

#include "GKlib.h"
Include dependency graph for b64.c:

Go to the source code of this file.

Macros

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

Functions

void decodeblock (unsigned char *in, unsigned char *out)
 
void encodeblock (unsigned char *in, unsigned char *out)
 
void GKDecodeBase64 (int nbytes, unsigned char *inbuffer, unsigned char *outbuffer)
 
void GKEncodeBase64 (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$

Definition in file b64.c.

Macro Definition Documentation

◆ B64OFFSET

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

Definition at line 22 of file b64.c.

Function Documentation

◆ decodeblock()

void decodeblock ( unsigned char *  in,
unsigned char *  out 
)

Definition at line 46 of file b64.c.

◆ encodeblock()

void encodeblock ( unsigned char *  in,
unsigned char *  out 
)

Definition at line 28 of file b64.c.

◆ GKDecodeBase64()

void GKDecodeBase64 ( int  nbytes,
unsigned char *  inbuffer,
unsigned char *  outbuffer 
)

Definition at line 85 of file b64.c.

◆ GKEncodeBase64()

void GKEncodeBase64 ( int  nbytes,
unsigned char *  inbuffer,
unsigned char *  outbuffer 
)

Definition at line 64 of file b64.c.



gtsam
Author(s):
autogenerated on Sun Dec 22 2024 04:18:27