Beispiel #1
0
        public void ReadByteArray32CheckedTest()
        {
            var stream = new FastStreamReader(Helper.GetBytes(35));

            byte[] actual   = stream.ReadByteArray32Checked();
            byte[] expected = Helper.GetBytes(32);

            Assert.Equal(expected, actual);
            Assert.Equal(32, stream.GetCurrentIndex());
        }