ladybird/Userland/Libraries/LibUnicode/Punycode.h
2023-12-10 08:04:58 -05:00

18 lines
289 B
C++

/*
* 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);
ErrorOr<String> encode(StringView);
ErrorOr<String> encode(Utf32View);
}