Skip to content

Commit

Permalink
Add overloads for CopyTo for Span<byte>. (#1541)
Browse files Browse the repository at this point in the history
* Add overloads for CopyTo for Span<byte>.

* Add a few GC.KeepAlives.

* Fix GetSpanForCapacity.

* Ensure source stays alive in GetByte.

* Add a few more KeepAlives.

* Fix.

* Fix.
  • Loading branch information
jlaanstra authored Apr 2, 2024
1 parent 3a657b7 commit 3b983c3
Showing 1 changed file with 194 additions and 196 deletions.
Loading

0 comments on commit 3b983c3

Please sign in to comment.