00001 #ifndef OSL_MISC_UUENCODE_H 00002 #define OSL_MISC_UUENCODE_H 00003 00004 #include <string> 00005 #include <boost/dynamic_bitset.hpp> 00006 00007 namespace osl 00008 { 00009 namespace misc 00010 { 00011 // http://en.wikipedia.org/wiki/Base64 00012 // http://ja.wikipedia.org/wiki/Base64 00013 std::string base64Encode(boost::dynamic_bitset<> src); 00014 00015 boost::dynamic_bitset<> base64Decode(std::string src); 00016 } // namespace misc 00017 00018 } // namespace CQ 00019 00020 #endif /* _MISC_UUENCODE_H */ 00021 00022 // ;;; Local Variables: 00023 // ;;; mode:c++ 00024 // ;;; c-basic-offset:2 00025 // ;;; End: