mirror of
https://github.com/RPCS3/yaml-cpp.git
synced 2026-07-25 04:35:23 -04: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