You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<paramname="buffer">When this method returns, contains the specified span of characters replaced by the characters read from the current source.</param>
1517
+
<summary>Reads the characters from the current stream into a span.</summary>
1518
+
<returns>The number of characters that have been read, or 0 if at the end of the stream and no data was read. The number will be less than or equal to the <paramrefname="buffer" /> length, depending on whether the data is available within the stream.</returns>
1519
1519
<remarks>To be added.</remarks>
1520
+
<exceptioncref="T:System.IO.IOException">The number of characters read from the stream is larger than the <paramrefname="buffer" /> length.</exception>
1521
+
<exceptioncref="T:System.ArgumentNullException">
1522
+
<paramrefname="buffer" /> is <seelangword="null" />.</exception>
1520
1523
</Docs>
1521
1524
</Member>
1522
1525
<MemberMemberName="Read">
@@ -1634,10 +1637,10 @@ Following a call to <xref:System.IO.StreamReader.Close%2A>, any operations on th
<paramname="cancellationToken">To be added.</param>
1639
-
<summary>To be added.</summary>
1640
-
<returns>To be added.</returns>
1640
+
<paramname="buffer">When this method returns, contains the specified memory block of characters replaced by the characters read from the current source.</param>
1641
+
<paramname="cancellationToken">The token to monitor for cancellation requests. The default value is <seecref="P:System.Threading.CancellationToken.None" />.</param>
1642
+
<summary>Asynchronously reads the characters from the current stream into a memory block.</summary>
1643
+
<returns>A value task that represents the asynchronous read operation. The value of the type parameter of the value task contains the number of characters that have been read, or 0 if at the end of the stream and no data was read. The number will be less than or equal to the <paramrefname="buffer" /> length, depending on whether the data is available within the stream.</returns>
1641
1644
<remarks>To be added.</remarks>
1642
1645
</Docs>
1643
1646
</Member>
@@ -1743,10 +1746,14 @@ Following a call to <xref:System.IO.StreamReader.Close%2A>, any operations on th
<paramname="buffer">When this method returns, contains the specified span of characters replaced by the characters read from the current source.</param>
1750
+
<summary>Reads the characters from the current stream and writes the data to a buffer.</summary>
1751
+
<returns>The number of characters that have been read. The number will be less than or equal to the <paramrefname="buffer" /> length, depending on whether all input characters have been read.</returns>
1749
1752
<remarks>To be added.</remarks>
1753
+
<exceptioncref="T:System.ArgumentNullException">
1754
+
<paramrefname="buffer" /> is <seelangword="null" />.</exception>
1755
+
<exceptioncref="T:System.ObjectDisposedException">The <seecref="T:System.IO.StreamReader" /> is closed.</exception>
<paramname="cancellationToken">To be added.</param>
1845
-
<summary>To be added.</summary>
1846
-
<returns>To be added.</returns>
1850
+
<paramname="buffer">When this method returns, contains the specified memory block of characters replaced by the characters read from the current source.</param>
1851
+
<paramname="cancellationToken">The token to monitor for cancellation requests. The default value is <seecref="P:System.Threading.CancellationToken.None" />.</param>
1852
+
<summary>Asynchronously reads the characters from the current stream and writes the data to a buffer.</summary>
1853
+
<returns>A value task that represents the asynchronous read operation. The value of the type parameter of the value task contains the total number of characters read into the buffer. The result value can be less than the number of characters requested if the number of characters currently available is less than the requested number, or it can be 0 (zero) if the end of the stream has been reached.</returns>
0 commit comments