mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:48:10 +00:00
LibUnicode: Add Punycode::decode
This commit is contained in:
parent
37b5c05ec5
commit
299d35aadc
5 changed files with 230 additions and 0 deletions
15
Userland/Libraries/LibUnicode/Punycode.h
Normal file
15
Userland/Libraries/LibUnicode/Punycode.h
Normal file
|
@ -0,0 +1,15 @@
|
|||
/*
|
||||
* Copyright (c) 2023, Simon Wanner <simon@skyrising.xyz>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <AK/String.h>
|
||||
|
||||
namespace Unicode::Punycode {
|
||||
|
||||
ErrorOr<String> decode(StringView);
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue