ADTF
base64.h
Go to the documentation of this file.
1 
8 #ifndef BASE64_HEADER_H
9 #define BASE64_HEADER_H
10 
11 namespace A_UTILS_NS
12 {
13 
17 class cBase64
18 {
19 
20  private: // We need only static methods
25 
29  virtual ~cBase64();
30 
31  public:
40  static tResult Encode(const A_UTILS_NS::cMemoryBlock & i_pSource,
41  A_UTILS_NS::cString & o_strDestination);
42 
51  static tResult Decode(const A_UTILS_NS::cString & i_strSource,
52  A_UTILS_NS::cMemoryBlock & o_oDestination);
53 
54 };
55 
56 }
57 
58 #endif //BASE64_HEADER_H
Class for encode and decode with base64.
Definition: base64.h:18
static tResult Encode(const A_UTILS_NS::cMemoryBlock &i_pSource, A_UTILS_NS::cString &o_strDestination)
Utility function to encode a Memoryblock into a base64 string.
cBase64()
Constructor.
virtual ~cBase64()
Destructor.
static tResult Decode(const A_UTILS_NS::cString &i_strSource, A_UTILS_NS::cMemoryBlock &o_oDestination)
Utility function to decode a base64 string into a Memoryblock.
Memory block class.
Definition: memoryblock.h:20
ADTF A_UTIL Namespace - Within adtf this is used as adtf::util or adtf_util.
Definition: d_ptr.h:11