BCnEncoder.NET
BCnEncoder.NET copied to clipboard
Make `DecodeRaw` accept `ReadOnlyMemory<byte>`
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