Sirikata
libcore/include/sirikata/core/util/Base64.hpp
Go to the documentation of this file.
00001 // Copyright (c) 2011 Sirikata Authors. All rights reserved.
00002 // Use of this source code is governed by a BSD-style license that can
00003 // be found in the LICENSE file.
00004 
00005 #ifndef SIRIKATA_CORE_UTIL_BASE64_HPP__
00006 #define SIRIKATA_CORE_UTIL_BASE64_HPP__
00007 
00008 #include <sirikata/core/util/Platform.hpp>
00009 
00010 namespace Sirikata {
00011 namespace Base64 {
00012 
00013 SIRIKATA_FUNCTION_EXPORT String encode(const String& orig, bool padWithEquals);
00014 SIRIKATA_FUNCTION_EXPORT String encodeURL(const String& orig);
00015 SIRIKATA_FUNCTION_EXPORT String decode(const String& orig);
00016 SIRIKATA_FUNCTION_EXPORT String decodeURL(const String& orig);
00017 
00018 } // namespace Base64
00019 } // Sirikata
00020 
00021 #endif // SIRIKATA_CORE_UTIL_BASE64_HPP__