My Project
OSBase64.h
Go to the documentation of this file.
1/* $Id$ */
16#ifndef BASE64_H
17#define BASE64_H
18
19#include <string>
20
33class Base64
34{
35public:
36
37
40
43
51 static std::string encodeb64(char* bytes, int size);
52
59 static std::string decodeb64(char* b64bytes);
60};//class Base64
61
62
63#endif
64
use this class to read and write data in base64.
Definition OSBase64.h:34
Base64()
Base64 class constructor.
static std::string decodeb64(char *b64bytes)
decode the data in base 64
Definition OSBase64.cpp:87
static std::string encodeb64(char *bytes, int size)
encode the data in base 64
Definition OSBase64.cpp:33
~Base64()
Base64 class destructor.