Skip to content

Commit

Permalink
Fix stack overflows.
Browse files Browse the repository at this point in the history
  • Loading branch information
teo-tsirpanis committed Oct 27, 2022
1 parent 94b72c1 commit a4b647c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ public void WriteBytes(byte[] buffer)
Throw.ArgumentNull(nameof(buffer));
}

WriteBytes(buffer);
WriteBytes(buffer.AsSpan());
}

/// <exception cref="ArgumentNullException"><paramref name="buffer"/> is null.</exception>
Expand Down

0 comments on commit a4b647c

Please sign in to comment.