Skip to content

Instantly share code, notes, and snippets.

@qianguozheng
Created November 13, 2019 13:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save qianguozheng/10b56d993708fdd68beccb8801b48417 to your computer and use it in GitHub Desktop.
Save qianguozheng/10b56d993708fdd68beccb8801b48417 to your computer and use it in GitHub Desktop.
base64.h
//
// base64 encoding and decoding with C++.
// Version: 1.01.00
//
#ifndef BASE64_H_C0CE2A47_D10E_42C9_A27C_C883944E704A
#define BASE64_H_C0CE2A47_D10E_42C9_A27C_C883944E704A
#include <string>
std::string base64_encode(unsigned char const* , unsigned int len);
std::string base64_decode(std::string const& s);
#endif /* BASE64_H_C0CE2A47_D10E_42C9_A27C_C883944E704A */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment