1 2 //********************************************************************* 3 //* C_Base64 - a simple base64 encoder and decoder. 4 //* 5 //* Copyright (c) 1999, Bob Withers - bwit@pobox.com 6 //* 7 //* This code may be freely used for any purpose, either personal 8 //* or commercial, provided the authors copyright notice remains 9 //* intact. 10 //********************************************************************* 11 12 #ifndef _Base64_hpp 13 #define _Base64_hpp 14 15 #include <string> 16 17 namespace Base64 18 { 19 extern std::string Encode(const std::string &data); 20 extern std::string Decode(const std::string &data); 21 } 22 23 24 #endif // _Base64_hpp 25