Skip to content

Commit fca3f20

Browse files
committed
PipeWriter.UnflushedBytes long property wraps to negative numbers after int.MaxValue
1 parent ea64b25 commit fca3f20

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

xml/System.IO.Pipelines/PipeWriter.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@
7575
<param name="bytes">The number of bytes written to the <see cref="T:System.Span`1" /> or <see cref="T:System.Memory`1" />.</param>
7676
<summary>Notifies the <see cref="T:System.IO.Pipelines.PipeWriter" /> that <paramref name="bytes" /> bytes were written to the output <see cref="T:System.Span`1" /> or <see cref="T:System.Memory`1" />. You must call <see cref="M:System.IO.Pipelines.PipeWriter.GetSpan(System.Int32)" /> or <see cref="M:System.IO.Pipelines.PipeWriter.GetMemory(System.Int32)" /> again and use the returned buffer to continue writing more data after calling <see cref="M:System.IO.Pipelines.PipeWriter.Advance(System.Int32)" />; you cannot write to a previously acquired buffer.</summary>
7777
<remarks>To be added.</remarks>
78+
<exception cref="T:System.OverflowException">The buffer size overflown its `long.MaxValue` max size.</exception>
7879
</Docs>
7980
</Member>
8081
<Member MemberName="AsStream">

0 commit comments

Comments
 (0)