LIPH's C++ Codes
base64.h
Go to the documentation of this file.
1#ifndef LIPH_ENCODING_BASE64_H_
2#define LIPH_ENCODING_BASE64_H_
3
4#include <string>
5#include <string_view>
6
7namespace liph {
8
9struct base64 {
10 static std::string encode(std::string_view sv);
11 static std::string decode(std::string_view sv);
12};
13
14} // namespace liph
15
16#endif // LIPH_ENCODING_BASE64_H_
Definition: algorithm.h:10
Definition: base64.h:9
static std::string encode(std::string_view sv)
Definition: base64.cpp:25
static std::string decode(std::string_view sv)
Definition: base64.cpp:40