public void GetTest()
        {
            var bigEndianBuffer = ByteBufferAllocator.NewBuffer(Endian.BigEndian);

            bigEndianBuffer.WriteInt(10);

            var littleEndianBuffer = ByteBufferAllocator.NewReadOnlyBuffer(Endian.LittleEndian, bigEndianBuffer.ToArray());

            Assert.AreEqual(10.Reverse(), littleEndianBuffer.ReadInt());
        }
        public void ReadonlyBufferTest()
        {
            var buffer = ByteBufferAllocator.NewReadOnlyBuffer(Endian.BigEndian, new byte[8]);

            buffer.WriteByte(0);
        }