mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-19 16:40:26 +02:00
Fix StreamReader Peek method
This commit is contained in:
parent
018db49902
commit
c886702d2b
1 changed files with 1 additions and 1 deletions
|
@ -190,7 +190,7 @@ namespace System.IO
|
|||
{
|
||||
if (Try!(ReadBuffer()) == 0) return .Err;
|
||||
}
|
||||
return mCharBuffer[mCharPos + 1];
|
||||
return mCharBuffer[mCharPos];
|
||||
}
|
||||
|
||||
public Task<String> ReadLineAsync()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue