⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 base64.h

📁 本人收集整理的一份c/c++跨平台网络库
💻 H
字号:
//*********************************************************************//* C_Base64 - a simple base64 encoder and decoder.//*//*     Copyright (c) 1999, Bob Withers - bwit@pobox.com//*//* This code may be freely used for any purpose, either personal//* or commercial, provided the authors copyright notice remains//* intact.//*********************************************************************#ifndef UTILS_BASE_BASE64_H_#define UTILS_BASE_BASE64_H_#include <string>namespace utils_base {class Base64{public:  static std::string encode(const std::string & data);  static std::string decode(const std::string & data);  static std::string encodeFromArray(const char * data, size_t len);private:  static const std::string Base64::Base64Table;  static const std::string::size_type Base64::DecodeTable[];};} // namespace utils_base#endif // UTILS_BASE_BASE64_H_

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -