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:
commit
1af638e7e9
1 changed files with 8 additions and 0 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue