mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-13 22:04:09 +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
|
@ -143,6 +143,14 @@ namespace System
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
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)
|
public static void Write(String line)
|
||||||
{
|
{
|
||||||
Out.Write(line).IgnoreError();
|
Out.Write(line).IgnoreError();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue