Ejemplo n.º 1
0
 public void ToIntLE_Test()
 {
     Assert.Equal(0x030201, CSLUtility.ToIntLE(new byte[] { 1, 2, 3 }, 0, 3));
     Assert.Equal(0x0201, CSLUtility.ToIntLE(new byte[] { 1, 2, 3 }, 0, 2));
     Assert.Equal(0x0302, CSLUtility.ToIntLE(new byte[] { 1, 2, 3 }, 1, 2));
 }