Nominom/BCnEncoder.NET

Make `DecodeRaw` accept `ReadOnlyMemory<byte>`

Crauzer opened this issue · 1 comments

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.

I think issue also applies to the whole library, it would be much better to use the Memory/Span types for public APIs