BitShares-Core  4.0.0
BitShares blockchain implementation and command-line interface software
Go to the documentation of this file.
1 #pragma once
2 #include <string>
4 namespace fc {
5 std::string base64_encode(unsigned char const* bytes_to_encode, unsigned int in_len);
6 inline std::string base64_encode(char const* bytes_to_encode, unsigned int in_len) { return base64_encode( (unsigned char const*)bytes_to_encode, in_len); }
7 std::string base64_encode( const std::string& enc );
8 std::string base64_decode( const std::string& encoded_string);
9 } // namespace fc
std::string base64_encode(unsigned char const *bytes_to_encode, unsigned int in_len)
Definition: base64.cpp:51
Definition: api.hpp:15
std::string base64_decode(const std::string &encoded_string)
Definition: base64.cpp:96