コード例 #1
0
 public void StreamUtility_HostToNetwork32_1()
 {
     byte[] array = { 1, 2, 3, 4 };
     StreamUtility.HostToNetwork32(array, 0);
     Assert.AreEqual(4, array[0]);
     Assert.AreEqual(3, array[1]);
     Assert.AreEqual(2, array[2]);
     Assert.AreEqual(1, array[3]);
 }