mirror of
https://github.com/SabreTools/SabreTools.IO.git
synced 2026-09-25 08:06:05 +00:00
Simplify ReadBytes implementation
This commit is contained in:
@@ -25,9 +25,7 @@ namespace SabreTools.IO
|
||||
/// Read a UInt8[] from the stream
|
||||
/// </summary>
|
||||
public static byte[]? ReadBytes(this Stream stream, int count)
|
||||
{
|
||||
return ReadToBuffer(stream, count);
|
||||
}
|
||||
=> ReadToBuffer(stream, count);
|
||||
|
||||
/// <summary>
|
||||
/// Read a Int8 from the stream
|
||||
|
||||
Reference in New Issue
Block a user