mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-03-07 22:17:21 +00:00
The existing try_create_from_serialized_byte_buffer function accepts a ByteBuffer, but in reality it requires only a ReadonlyBytes, since internally the only thing it does is calling buffer.bytes(). There is thus no reason to have a function that simply accepts ReadonlyBytes, and implement the former in terms of the newer.
24 KiB
24 KiB