1
0

Adding IPNetwork to Converter/Formatters

This commit is contained in:
2022-08-05 17:21:31 +02:00
parent 1522c0cbc9
commit 7ee10e4a6d
9 changed files with 310 additions and 17 deletions

View File

@@ -163,5 +163,11 @@ namespace AMWD.Common.Utilities
.Where(a => addressFamily == AddressFamily.Unspecified || a.AddressFamily == addressFamily)
.OrderBy(a => a.AddressFamily);
}
internal static void SwapBigEndian(byte[] array)
{
if (BitConverter.IsLittleEndian)
Array.Reverse(array);
}
}
}