示例#1
0
 public void Swap_Test()
 {
     Assert.Equal(16777216, ByteBufferUtil.SwapInt(1));
     Assert.Equal(2560, ByteBufferUtil.SwapShort(10));
     Assert.Equal(-6879810281250226176, ByteBufferUtil.SwapLong(100000));
 }