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:
Jesse Beder
2012-01-21 01:33:49 -06:00
parent 6105d4cfeb
commit d760d037ca
3 changed files with 24 additions and 22 deletions

View File

@@ -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;
}
}