small fix for NetFramework
This commit is contained in:
parent
82f3a47f48
commit
f6d045ae2d
9
DTLib/Extensions/OtherStuff.cs
Normal file
9
DTLib/Extensions/OtherStuff.cs
Normal file
@ -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);
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user