mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-10 00:52:28 +02:00
This commit moves the length calculations out to be directly on the StringView users. This is an important step towards the goal of removing StringView(char const*), as it moves the responsibility of calculating the size of the string to the user of the StringView (which will prevent naive uses causing OOB access).
2.5 KiB
2.5 KiB