Document semantics of `Stream.ReadAllBytes` extension

This commit is contained in:
YoshiRulz 2025-01-11 22:23:57 +10:00
parent 633681804d
commit 09f8e8c544
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
1 changed files with 1 additions and 0 deletions

View File

@ -18,6 +18,7 @@ namespace BizHawk.Common.IOExtensions
fixed (byte* p = bytes) return encoding.GetString(p, bytes.Length);
}
/// <remarks>does NOT seek to beginning</remarks>
public static byte[] ReadAllBytes(this Stream stream)
{
var outStream = new MemoryStream();