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

Update Console.bf

This commit is contained in:
RogueMacro 2020-05-22 11:06:20 +02:00 committed by GitHub
parent b8c0322924
commit fc229c9835
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)
{