Add dll tag to Binary
This commit is contained in:
parent
005b077267
commit
13e259cf1f
@ -10,11 +10,14 @@
|
|||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
namespace YAML {
|
#include "yaml-cpp/dll.h"
|
||||||
std::string EncodeBase64(const unsigned char *data, std::size_t size);
|
|
||||||
std::vector<unsigned char> DecodeBase64(const std::string &input);
|
|
||||||
|
|
||||||
class Binary {
|
namespace YAML {
|
||||||
|
YAML_CPP_API std::string EncodeBase64(const unsigned char *data,
|
||||||
|
std::size_t size);
|
||||||
|
YAML_CPP_API std::vector<unsigned char> DecodeBase64(const std::string &input);
|
||||||
|
|
||||||
|
class YAML_CPP_API Binary {
|
||||||
public:
|
public:
|
||||||
Binary() : m_unownedData(0), m_unownedSize(0) {}
|
Binary() : m_unownedData(0), m_unownedSize(0) {}
|
||||||
Binary(const unsigned char *data_, std::size_t size_)
|
Binary(const unsigned char *data_, std::size_t size_)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user