diff --git a/X10D/src/Util.cs b/X10D/src/Util.cs deleted file mode 100644 index e7cf77d..0000000 --- a/X10D/src/Util.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; - -namespace X10D -{ - internal static class Util - { - public static void SwapIfNeeded(ref byte[] buffer, Endianness endianness) - { - if (buffer is null) - { - throw new ArgumentNullException(nameof(buffer)); - } - - var swapNeeded = BitConverter.IsLittleEndian == (endianness == Endianness.BigEndian); - if (swapNeeded) - { - Array.Reverse(buffer); - } - } - } -}