mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 19:07:34 +00:00
AK+LibWeb: Move decode forgiving base64 under Web::Infra namespace
Since the forgiving base64 is part of the web infra standard
This commit is contained in:
parent
4ab2954210
commit
283187afc5
6 changed files with 133 additions and 101 deletions
15
Userland/Libraries/LibWeb/Infra/Base64.h
Normal file
15
Userland/Libraries/LibWeb/Infra/Base64.h
Normal file
|
@ -0,0 +1,15 @@
|
|||
/*
|
||||
* Copyright (c) 2022-2023, the SerenityOS developers.
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <AK/Forward.h>
|
||||
|
||||
namespace Web::Infra {
|
||||
|
||||
[[nodiscard]] ErrorOr<ByteBuffer> decode_forgiving_base64(StringView);
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue