libcryptosec
Base64.h
Go to the documentation of this file.
1 #ifndef BASE64_H_
2 #define BASE64_H_
3 
4 /* c++ library includes */
5 #include <string>
6 
7 /* local includes */
8 #include "ByteArray.h"
9 
18 class Base64
19 {
20 public:
26  static std::string encode(ByteArray &data);
32  static ByteArray decode(std::string &data);
33 private:
37  static const std::string base64Chars;
38 };
39 
40 #endif /*BASE64_H_*/
Classe usada para transportar dados binários pelo sistema. Pode ser usada para conversão de texto em ...
Definition: ByteArray.h:24
static ByteArray decode(std::string &data)
Definition: Base64.cpp:53
static std::string encode(ByteArray &data)
Definition: Base64.cpp:5
class to perform base64 encode/decode. Implements only static functions.
Definition: Base64.h:18