S7NetPlus/s7netplus

Add overloads taking (ReadOnly)Memory<byte>/Span<byte> arguments

ArgusMagnus opened this issue · 3 comments

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.

I'm definitely open to accepting those. Feel free to submit a PR when you're up to it.

I created the pull request #482

Fixed by #482, released as part of v0.17.0.