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

Merge pull request #289 from RogueMacro/master

Add Read functions to Console
This commit is contained in:
Brian Fiete 2020-05-22 05:45:06 -07:00 committed by GitHub
commit 1af638e7e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -142,6 +142,14 @@ namespace System
return OpenStreamReader(.In, ref mIn);
}
}
public static Result<char8> Read() => In.Read();
public static Result<void> ReadLine(String strBuffer) => In.ReadLine(strBuffer);
public static Task<String> ReadLineAsync() => In.ReadLineAsync();
public static Result<void> ReadToEnd(String outText) => In.ReadToEnd(outText);
public static void Write(String line)
{