public void CheckReadWriteUInt32ReturnsSameValue(uint value, ByteOrder byteOrder)
        {
            using (var baseStream = new MemoryStream())
            {
                var constructWriter = new ConstructWriterStream(baseStream);
                constructWriter.WriteUInt32(value, byteOrder);

                baseStream.Seek(0, SeekOrigin.Begin);

                var constructReader = new ConstructReaderStream(baseStream);
                var result = constructReader.ReadUInt32(byteOrder);

                Assert.AreEqual(value, result);
            }
        }
        public void ReadUIntIsCorrectValue(uint value, ByteOrder byteOrder)
        {
            var constructStream = new ConstructReaderStream(DataStream.Create(value, byteOrder));

            Assert.AreEqual(value, constructStream.ReadUInt32(byteOrder));
        }