mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 13:49:16 +00:00
AK: Add a method to compute UTF-16 length from a UTF-8 string
This commit is contained in:
parent
743c71faa7
commit
7a17c654d2
Notes:
github-actions[bot]
2024-07-31 09:56:36 +00:00
Author: https://github.com/trflynn89
Commit: 7a17c654d2
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/901
3 changed files with 19 additions and 0 deletions
|
@ -26,6 +26,8 @@ ErrorOr<Utf16Data> utf8_to_utf16(Utf8View const&, Endianness = Endianness::Host)
|
|||
ErrorOr<Utf16Data> utf32_to_utf16(Utf32View const&, Endianness = Endianness::Host);
|
||||
ErrorOr<void> code_point_to_utf16(Utf16Data&, u32, Endianness = Endianness::Host);
|
||||
|
||||
size_t utf16_code_unit_length_from_utf8(StringView);
|
||||
|
||||
class Utf16View;
|
||||
|
||||
class Utf16CodePointIterator {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue