fix: Fixes SpanWriter/SpanReader tests (#2263)

This commit is contained in:
Kamron Batman 2025-11-13 00:00:19 -08:00 • committed by GitHub
parent 68caaab92c
commit 6f5b7f7a6b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 1171 additions and 46 deletions

View file

@ -275,7 +275,7 @@ public ref struct SpanReader
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public int Read(Span<byte> bytes)
public int Read(scoped Span<byte> bytes)
{
if (bytes.Length == 0)
{