#include <algorithm>
#include <array>
#include <cstdint>
#include <string>
#include <vector>
浏览该文件的源代码.
|
| template<typename Alphabets = alphabet::base62> |
| std::string | kotucode::base::base62::encode (const std::string &binary_data) |
| | 将二进制数据编码为 Base62 字符串。
|
| template<typename Alphabets = alphabet::base62> |
| std::string | kotucode::base::base62::decode (const std::string &base_string) |
| | 将 Base62 编码字符串解码为原始二进制数据。
|
| template<typename Alphabets = alphabet::base64> |
| std::string | kotucode::base::base64::encode (const std::string &binary_data) |
| | 将二进制数据编码为 Base64 字符串。
|
| template<typename Alphabets = alphabet::base64> |
| std::string | kotucode::base::base64::decode (const std::string &base_string) |
| | 将 Base64 编码字符串解码为原始二进制数据。
|
| template<typename Alphabets = alphabet::base64> |
| std::string | kotucode::base::base64::pad (const std::string &base_string) |
| | 给修剪过的 Base64 编码字符串重新添加上填充。
|
| template<typename Alphabets = alphabet::base64> |
| std::string | kotucode::base::base64::trim (const std::string &base_string) |
| | 修剪 Base64 编码字符串,去掉末尾的填充。
|