branchsbox/bytestream-rewritecancel
5 Commits over 30 Days - 0.01cph!
Added failing ByteStream stress test
Rewrite ByteStream to use Span / ReadOnlySpan where possible
Added failing ByteStream stress test
Rewrite ByteStream to use Span / ReadOnlySpan where possible
Some extra safety with ByteStream.Base()
We're only using this when passing write-enabled ByteStreams to native,
which already have a pointer to unmanaged memory. For ReadOnlySpan-backed
we'd need to pin for spans of managed arrays.
Rewrite ByteStream to use Span / ReadOnlySpan where possible
Added failing ByteStream stress test
Rewrite ByteStream to use Span / ReadOnlySpan where possible