Make `DecodeRaw` accept `ReadOnlyMemory<byte>`
Crauzer opened this issue · 1 comments
Crauzer commented
DecodeRaw
is currently a wrapper for DecodeRawInternal
which itself accepts ReadOnlyMemory<byte>
.
There is no reason why the public function shouldn't also accept ReadOnlyMemory
/ReadOnlySpan
.
Crauzer commented
I think issue also applies to the whole library, it would be much better to use the Memory/Span
types for public APIs