diff options
Diffstat (limited to 'Userland/Libraries/LibWeb/Infra/Base64.h')
-rw-r--r-- | Userland/Libraries/LibWeb/Infra/Base64.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/Infra/Base64.h b/Userland/Libraries/LibWeb/Infra/Base64.h new file mode 100644 index 0000000000..381fbebb75 --- /dev/null +++ b/Userland/Libraries/LibWeb/Infra/Base64.h @@ -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); + +} |