1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-11 12:54:15 +02:00

StringView Write

This commit is contained in:
Brian Fiete 2021-11-02 09:56:31 -07:00
parent 9697c2a682
commit b81c7ef4bf

View file

@ -44,6 +44,11 @@ namespace System.Diagnostics
Write(line.Ptr, line.Length); Write(line.Ptr, line.Length);
} }
public static void Write(StringView sv)
{
Write(sv.[Friend]mPtr, sv.[Friend]mLength);
}
public static void Write(String fmt, params Object[] args) public static void Write(String fmt, params Object[] args)
{ {
String str = scope String(4096); String str = scope String(4096);