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
Copy file name to clipboardExpand all lines: src/libraries/System.Private.CoreLib/src/System/IO/BinaryReader.cs
+16
Original file line number
Diff line number
Diff line change
@@ -453,6 +453,22 @@ public virtual byte[] ReadBytes(int count)
453
453
returnresult;
454
454
}
455
455
456
+
/// <summary>
457
+
/// Reads bytes from the current stream and advances the position within the stream until the <paramref name="buffer" /> is filled.
458
+
/// </summary>
459
+
/// <remarks>
460
+
/// When <paramref name="buffer"/> is empty, this read operation will be completed without waiting for available data in the stream.
461
+
/// </remarks>
462
+
/// <param name="buffer">A region of memory. When this method returns, the contents of this region are replaced by the bytes read from the current stream.</param>
463
+
/// <exception cref="ObjectDisposedException">The stream is closed.</exception>
0 commit comments