public void ReadInt_GivenAnTooLargeOffset_ThrowsArgumentOutOfRangeException(int offset)
        {
            var dr = new MyBufferedStream(_stream, 1, 1);

            Assert.Throws <ArgumentOutOfRangeException>(() => dr.ReadUInt(offset));
        }
        public void ReadInt_GivenAnOffset_ReturnsCorrectInt(int offset, uint expected, int initBytesToRead, int bytesToRead)
        {
            var dr = new MyBufferedStream(_stream, initBytesToRead, bytesToRead);

            Assert.Equal(expected, dr.ReadUInt(offset));
        }