Guiliani  Version 2.5 revision 7293 (documentation build 13)
GUIBase64.h
1/*
2* Copyright (C) TES Electronic Solutions GmbH,
3* All Rights Reserved.
4* Contact: info@guiliani.de
5*
6* This file is part of the Guiliani HMI framework
7* for the development of graphical user interfaces on embedded systems.
8*/
9
10#if !defined(GUI_BASE64_H)
11#define GUI_BASE64_H
12
13#include "eC_Types.h"
14
20{
21public:
24 #define GETBASE64BUFFERSIZE(DataSize) (((DataSize+2)/3)*4)
25
44 static eC_Char* Encode(eC_Char* pcBuf,
45 const eC_UInt uiBufLen,
46 const eC_UByte* pubIn,
47 const eC_UInt uiSrcLen);
48
61 static eC_Int Decode(eC_UByte* pubBuf,
62 const eC_UInt uiBufLen,
63 const eC_Char* pcIn);
64
65private:
67 static const eC_UByte sc_map[];
68};
69
70#endif // GUI_BASE64_H
Base64 encoder/decoder for Guiliani.
Definition: GUIBase64.h:20
static eC_Char * Encode(eC_Char *pcBuf, const eC_UInt uiBufLen, const eC_UByte *pubIn, const eC_UInt uiSrcLen)
static eC_Int Decode(eC_UByte *pubBuf, const eC_UInt uiBufLen, const eC_Char *pcIn)