mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 22:33:05 +08:00
Use -1
to specify default buffer size
This commit is contained in:
parent
a52ea3cabe
commit
12d396a513
@ -19,7 +19,7 @@ namespace osu.Game.IO
|
|||||||
|
|
||||||
public LineBufferedReader(Stream stream, bool leaveOpen = false)
|
public LineBufferedReader(Stream stream, bool leaveOpen = false)
|
||||||
{
|
{
|
||||||
streamReader = new StreamReader(stream, Encoding.UTF8, true, 1024, leaveOpen);
|
streamReader = new StreamReader(stream, Encoding.UTF8, true, -1, leaveOpen);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
Loading…
Reference in New Issue
Block a user