From f6d045ae2d97691d67bfa82a26e9c100bb3215a1 Mon Sep 17 00:00:00 2001 From: Timerix22 Date: Sun, 30 Oct 2022 14:35:54 +0600 Subject: [PATCH] small fix for NetFramework --- DTLib/Extensions/OtherStuff.cs | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 DTLib/Extensions/OtherStuff.cs diff --git a/DTLib/Extensions/OtherStuff.cs b/DTLib/Extensions/OtherStuff.cs new file mode 100644 index 0000000..b6260d5 --- /dev/null +++ b/DTLib/Extensions/OtherStuff.cs @@ -0,0 +1,9 @@ +using System.IO; + +namespace DTLib.Extensions; + +public static class OtherStuff +{ + public static void Write(this Stream stream, byte[] buff) + => stream.Write(buff, 0, buff.Length); +} \ No newline at end of file