mirror of
https://github.com/bulletphysics/bullet3.git
synced 2026-08-12 08:19:34 +00:00
19 lines
657 B
C++
19 lines
657 B
C++
//
|
|
// base64 encoding and decoding with C++.
|
|
// Version: 2.rc.00 (release candidate)
|
|
//
|
|
|
|
#ifndef BASE64_H_C0CE2A47_D10E_42C9_A27C_C883944E704A
|
|
#define BASE64_H_C0CE2A47_D10E_42C9_A27C_C883944E704A
|
|
|
|
#include <string>
|
|
|
|
std::string base64_encode (std::string const& s, bool url = false);
|
|
std::string base64_encode_pem (std::string const& s);
|
|
std::string base64_encode_mime(std::string const& s);
|
|
|
|
std::string base64_decode(std::string const& encoded_string, bool remove_linebreaks = false);
|
|
std::string base64_encode(unsigned char const*, unsigned int len, bool url = false);
|
|
|
|
#endif /* BASE64_H_C0CE2A47_D10E_42C9_A27C_C883944E704A */
|