1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 15:57:45 +00:00

AK+Kernel: Add StringBuilder::append overload for UTF-16 views

Currently, to append a UTF-16 view to a StringBuilder, callers must
first convert the view to UTF-8 and then append the copy. Add a UTF-16
overload so callers do not need to hold an entire copy in memory.
This commit is contained in:
Timothy Flynn 2021-08-09 11:53:28 -04:00 committed by Andreas Kling
parent 5978caf96b
commit c16aca7abf
3 changed files with 14 additions and 0 deletions

View file

@ -312,6 +312,8 @@ set(AK_SOURCES
../AK/Time.cpp
../AK/Format.cpp
../AK/UUID.cpp
../AK/Utf8View.cpp
../AK/Utf16View.cpp
)
set(ELF_SOURCES