Target Frameworks have to be Edited and I'm not sure whether you really want to give up on the syntactic shugar of C#9.0.
Also all methods taking byte[] as an argument don't accept Span<byte> in C#7.3 so I just lazily inserted ToArray() everywhere, not sure what this does under the hood but it could lead to serous performance issues.
But I thought this may be useful for someone anyway. :)
Thank you for the PR.
Yes, we need to fix ToArray() for the performance issue. And again it will require some testing before the merge. I am not sure when can we test this.
This is definetly not ready to be merged.
Target Frameworks have to be Edited and I'm not sure whether you really want to give up on the syntactic shugar of C#9.0.
Also all methods taking
byte[]
as an argument don't acceptSpan<byte>
in C#7.3 so I just lazily insertedToArray()
everywhere, not sure what this does under the hood but it could lead to serous performance issues.But I thought this may be useful for someone anyway. :)