docc 0.8.3 (0d44999b)
C++ API Reference
Loading...
Searching...
No Matches
base64.h
Go to the documentation of this file.
1//
2// base64 encoding and decoding with C++.
3// See impl. for further notes
4//
5
6#ifndef BASE64_H_C0CE2A47_D10E_42C9_A27C_C883944E704A
7#define BASE64_H_C0CE2A47_D10E_42C9_A27C_C883944E704A
8
9#include <cstdint>
10#include <string>
11#include <vector>
12
13std::string base64_encode(unsigned char const* bytes_to_encode, unsigned int in_len);
14
15std::vector<uint8_t> base64_decode(std::string const& encoded_string);
16
17#endif /* BASE64_H_C0CE2A47_D10E_42C9_A27C_C883944E704A */
std::vector< uint8_t > base64_decode(std::string const &encoded_string)
std::string base64_encode(unsigned char const *bytes_to_encode, unsigned int in_len)