1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 20:57:44 +00:00

AK: Add a simple and inefficient Base64 encoder

The test cases are taken from RFC 4648.
This commit is contained in:
Tom Lebreux 2020-06-12 22:09:31 -04:00 committed by Andreas Kling
parent dd53e070c5
commit 79529ffd47
3 changed files with 92 additions and 0 deletions

View file

@ -32,6 +32,9 @@ namespace AK {
ByteBuffer decode_base64(const StringView&);
ByteBuffer encode_base64(const StringView&);
}
using AK::decode_base64;
using AK::encode_base64;