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:
parent
5978caf96b
commit
c16aca7abf
3 changed files with 14 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue