1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 02:47:34 +00:00

AK: Make encode_base64 take a ByteBuffer and return a String

That makes the interface symmetric with decode_base64 and it's
what all current callers want (except for one, which is buggy).
This commit is contained in:
Nico Weber 2020-07-22 11:39:07 -04:00 committed by Andreas Kling
parent 9e32ad6c99
commit 5ba8aba197
5 changed files with 15 additions and 13 deletions

View file

@ -32,7 +32,7 @@ namespace AK {
ByteBuffer decode_base64(const StringView&);
ByteBuffer encode_base64(const StringView&);
String encode_base64(const ByteBuffer&);
}