You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
335 B
C++
18 lines
335 B
C++
#ifndef WEBCC_BASE64_H_
|
|
#define WEBCC_BASE64_H_
|
|
|
|
#include <cstdint>
|
|
#include <string>
|
|
|
|
namespace webcc {
|
|
|
|
std::string Base64Encode(const std::uint8_t* data, std::size_t length);
|
|
|
|
std::string Base64Encode(const std::string& input);
|
|
|
|
std::string Base64Decode(const std::string& input);
|
|
|
|
} // namespace webcc
|
|
|
|
#endif // WEBCC_BASE64_H_
|