1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-19 00:20:25 +02:00

Fix StreamReader Peek method

This commit is contained in:
disarray2077 2022-01-07 18:23:50 -03:00 committed by GitHub
parent 018db49902
commit c886702d2b
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()