mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-10 17:55:52 +00:00
PrimitiveString may currently only be created with a UTF-8 string, and it transcodes on the fly when a UTF-16 string is needed. Allow creating a PrimitiveString from a UTF-16 string to avoid unnecessary transcoding when the caller only wants UTF-16.
1.1 KiB
1.1 KiB