Mass++ Common Libraries v2.7.5
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Enumerations
Macros
CoreToolkits
Base64.h
Go to the documentation of this file.
1
12
#ifndef __KOME_CORE_BASE64_H__
13
#define __KOME_CORE_BASE64_H__
14
15
16
namespace
kome {
17
namespace
core {
18
23
class
CORE_TOOLKITS_CLASS
Base64
{
24
protected
:
29
Base64
();
30
35
virtual
~
Base64
();
36
37
protected
:
39
char
m_encodeMap[ 64 ];
40
42
int
m_decodeMap[ 256 ];
43
44
protected
:
49
void
createMap();
50
51
public
:
52
67
static
int
encode(
68
void
* src,
69
const
unsigned
int
srcLength,
70
char
* dest,
71
const
unsigned
int
destLength
72
);
73
88
static
int
decode(
89
char
* src,
90
const
unsigned
int
srcLength,
91
void
* dest,
92
const
unsigned
int
destLength
93
);
94
95
protected
:
101
static
Base64
& getInstance();
102
};
103
}
104
}
105
106
107
#endif // __KOME_CORE_BASE64_H__
kome::core::Base64
base64 conversion class
Definition:
Base64.h:23
Generated on Sun Mar 18 2018 12:32:08 for Mass++ Common Libraries v2.7.5 by
1.8.6