I have added overloads to ReadBytes, WriteBytes and their async counterparts which accept Span<byte> and the like. For now the overloads are only added for .NET 5 or greater. They could be made available for all frameworks by referencing the System.Memory package.
I have added overloads to
ReadBytes
,WriteBytes
and their async counterparts which acceptSpan<byte>
and the like. For now the overloads are only added for .NET 5 or greater. They could be made available for all frameworks by referencing theSystem.Memory
package.