Guitar
htmlencode.h
Go to the documentation of this file.
1 
2 #ifndef __HTMLENCODE_H
3 #define __HTMLENCODE_H
4 
5 #include <string>
6 #include <string_view>
7 
8 std::string html_encode(char const *ptr, char const *end, bool utf8through = true);
9 std::string html_decode(char const *ptr, char const *end);
10 
11 std::string html_encode(char const *ptr, size_t len, bool utf8through = true);
12 std::string html_decode(char const *ptr, size_t len);
13 
14 std::string html_encode(char const *ptr, bool utf8through = true);
15 std::string html_decode(char const *ptr);
16 
17 std::string html_encode(std::string_view const &str, bool utf8through = true);
18 std::string html_decode(std::string_view const &str);
19 
20 #endif
std::string html_encode(char const *ptr, char const *end, bool utf8through=true)
Definition: htmlencode.cpp:112
std::string html_decode(char const *ptr, char const *end)
Definition: htmlencode.cpp:120