mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 20:17:34 +00:00
AK: Add a simple and inefficient Base64 encoder
The test cases are taken from RFC 4648.
This commit is contained in:
parent
dd53e070c5
commit
79529ffd47
3 changed files with 92 additions and 0 deletions
|
@ -32,6 +32,9 @@ namespace AK {
|
|||
|
||||
ByteBuffer decode_base64(const StringView&);
|
||||
|
||||
ByteBuffer encode_base64(const StringView&);
|
||||
|
||||
}
|
||||
|
||||
using AK::decode_base64;
|
||||
using AK::encode_base64;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue