Add overloads taking (ReadOnly)Memory<byte>/Span<byte> arguments
ArgusMagnus opened this issue · 3 comments
ArgusMagnus commented
It would be great to have overloads of the ReadBytes
/WriteBytes
methods and their async counterparts which take Span<byte>
and the like as arguments. This would enable us to read/write array slices.
If this is something you would accept, I may be able to provide a pull request for this.
mycroes commented
I'm definitely open to accepting those. Feel free to submit a PR when you're up to it.
ArgusMagnus commented
I created the pull request #482