00001 00002 //********************************************************************* 00003 //* C_Base64 - a simple base64 encoder and decoder. 00004 //* 00005 //* Copyright (c) 1999, Bob Withers - bwit@pobox.com 00006 //* 00007 //* This code may be freely used for any purpose, either personal 00008 //* or commercial, provided the authors copyright notice remains 00009 //* intact. 00010 //********************************************************************* 00011 00012 #ifndef _Base64_hpp 00013 #define _Base64_hpp 00014 00015 #include <string> 00016 00017 namespace Base64 00018 { 00019 extern std::string Encode(const std::string &data); 00020 extern std::string Decode(const std::string &data); 00021 } 00022 00023 00024 #endif // _Base64_hpp