fix: Fixes SpanWriter/SpanReader tests (#2263)
This commit is contained in:
parent
68caaab92c
commit
6f5b7f7a6b
3 changed files with 1171 additions and 46 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue