コード例 #1
0
        public void ShouldPutInt64BigEndian(long value, int index)
        {
            _directBuffer.Int64PutBigEndian(index, value);

            var expected = EndianessConverter.ApplyInt64(ByteOrder.BigEndian, value);

            Assert.AreEqual(expected, *(long *)(_pBuffer + index));
        }