mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2025-09-09 20:51:16 +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:
@@ -370,7 +370,7 @@ namespace YAML
|
||||
|
||||
bool WriteBinary(ostream& out, const Binary& binary)
|
||||
{
|
||||
WriteBase64(out, binary.data(), binary.size());
|
||||
WriteDoubleQuotedString(out, EncodeBase64(binary.data(), binary.size()), false);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user