pion-net
4.0.9
Main Page
Namespaces
Classes
Files
File List
common
include
pion
PionAlgorithms.hpp
1
// -----------------------------------------------------------------------
2
// pion-common: a collection of common libraries used by the Pion Platform
3
// -----------------------------------------------------------------------
4
// Copyright (C) 2007-2011 Atomic Labs, Inc. (http://www.atomiclabs.com)
5
//
6
// Distributed under the Boost Software License, Version 1.0.
7
// See http://www.boost.org/LICENSE_1_0.txt
8
//
9
10
#ifndef __PION_ALGORITHMS_HEADER__
11
#define __PION_ALGORITHMS_HEADER__
12
13
#include <string>
14
#include <pion/PionConfig.hpp>
15
16
17
namespace
pion {
// begin namespace pion
18
19
struct
PION_COMMON_API
algo
{
20
27
static
bool
base64_decode(std::string
const
&input, std::string & output);
28
35
static
bool
base64_encode(std::string
const
&input, std::string & output);
36
38
static
std::string url_decode(
const
std::string& str);
39
41
static
std::string url_encode(
const
std::string& str);
42
43
};
44
45
}
// end namespace pion
46
47
#endif
pion::algo
Definition:
PionAlgorithms.hpp:19
Generated by
1.8.7