mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2025-09-09 12:41:17 +00:00
Renamed the base64 methods, and switched the EncodeBase64 one to return a string (to make it easy to use elsewhere)
This commit is contained in:
@@ -5,14 +5,13 @@
|
||||
#pragma once
|
||||
#endif
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
namespace YAML
|
||||
{
|
||||
class ostream;
|
||||
|
||||
void WriteBase64(ostream& out, const unsigned char *data, std::size_t size);
|
||||
std::vector<unsigned char> ReadBase64(const std::string& input);
|
||||
std::string EncodeBase64(const unsigned char *data, std::size_t size);
|
||||
std::vector<unsigned char> DecodeBase64(const std::string& input);
|
||||
|
||||
class Binary {
|
||||
public:
|
||||
|
Reference in New Issue
Block a user