1
0
Fork 0
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:
Brian Fiete 2022-01-08 12:31:19 +01:00 committed by GitHub
commit 500c2e3559
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -190,7 +190,7 @@ namespace System.IO
{
if (Try!(ReadBuffer()) == 0) return .Err;
}
return mCharBuffer[mCharPos + 1];
return mCharBuffer[mCharPos];
}
public Task<String> ReadLineAsync()