public void LongToBuffer_BufferToLong_Test() { var b1 = ByteBufferUtil.LongToBuffer(100L); var l1 = ByteBufferUtil.BufferToLong(b1); Assert.Equal(8, b1.Length); Assert.Equal(100L, l1); }