All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
base64.h
Go to the documentation of this file.
1 #ifndef OSL_MISC_UUENCODE_H
2 #define OSL_MISC_UUENCODE_H
3 
4 #include <string>
5 #include <boost/dynamic_bitset.hpp>
6 
7 namespace osl
8 {
9  namespace misc
10  {
11  // http://en.wikipedia.org/wiki/Base64
12  // http://ja.wikipedia.org/wiki/Base64
13  std::string base64Encode(boost::dynamic_bitset<> src);
14 
15  boost::dynamic_bitset<> base64Decode(std::string src);
16  } // namespace misc
17 
18 } // namespace CQ
19 
20 #endif /* _MISC_UUENCODE_H */
21 
22 // ;;; Local Variables:
23 // ;;; mode:c++
24 // ;;; c-basic-offset:2
25 // ;;; End: