mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 20:42:21 +02:00
Merge pull request #1362 from disarray2077/patch-4
Fix StreamReader Peek method
This commit is contained in:
commit
500c2e3559
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