示例#1
0
        public void AppendDataFromCheckedTest(byte[] rawData, byte[] rawData2)
        {
            var archive = new BitReader(rawData);

            Assert.Equal(rawData.Length * 8, archive.GetBitsLeft());

            archive.AppendDataFromChecked(rawData2, rawData2.Length * 8);
            Assert.Equal(rawData.Length * 8 + rawData2.Length * 8, archive.GetBitsLeft());
        }