wfut 0.2.4
A client side C++ implementation of WFUT (WorldForge Update Tool).
Encoder.h
1// This file may be redistributed and modified only under the terms of
2// the GNU Lesser General Public License (See COPYING for details).
3// Copyright (C) 2007 Simon Goodall
4
5#ifndef LIBWFUT_ENCODER_H
6#define LIBWFUT_ENCODER_H 1
7
8#include <string>
9
10namespace WFUT {
11
16class Encoder {
17public:
22 static std::string encodeString(const std::string &str);
23
28 static std::string decodeString(const std::string &str);
29
33 static std::string encodeURL(const std::string &str);
34};
35
36} /* namespace WFUT */
37
38#endif /* LIBWFUT_ENCODER_H */
static std::string decodeString(const std::string &str)
Definition: Encoder.cpp:41
static std::string encodeURL(const std::string &str)
Definition: Encoder.cpp:62
static std::string encodeString(const std::string &str)
Definition: Encoder.cpp:13