mirror of
https://github.com/zebrajr/ladybird.git
synced 2025-12-06 00:19:53 +01:00
AK: Allow constructing Utf32 from a span of u32
This commit is contained in:
parent
94601e1ffd
commit
cf9693169c
|
|
@ -71,6 +71,11 @@ public:
|
|||
VERIFY(code_points || length == 0);
|
||||
}
|
||||
|
||||
Utf32View(ReadonlySpan<u32> code_points)
|
||||
: Utf32View(code_points.data(), code_points.size())
|
||||
{
|
||||
}
|
||||
|
||||
Utf32CodePointIterator begin() const
|
||||
{
|
||||
return { begin_ptr(), m_length };
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user