LibreOffice Module lotuswordpro (master) 1
Functions | Variables
xfbase64.cxx File Reference
#include <string.h>
#include <memory>
#include "xfbase64.hxx"
Include dependency graph for xfbase64.cxx:

Go to the source code of this file.

Functions

static void Encode_ (const sal_uInt8 *src, char *dest)
 @descr Encode 3 byte to 4 byte. More...
 

Variables

const char aBase64EncodeTable []
 

Function Documentation

◆ Encode_()

static void Encode_ ( const sal_uInt8 src,
char *  dest 
)
static

@descr Encode 3 byte to 4 byte.

Please refer to RFC to get the base64 algorithm.

Definition at line 75 of file xfbase64.cxx.

References aBase64EncodeTable, and nIndex.

Referenced by XFBase64::Encode().

Variable Documentation

◆ aBase64EncodeTable

const char aBase64EncodeTable[]
Initial value:
=
{ 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M',
'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z',
'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm',
'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z',
'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '+', '/' }

Definition at line 64 of file xfbase64.cxx.

Referenced by Encode_().