Пример #1
0
        public void ReadArray_NotSupported()
        {
            var data   = new byte[] { 0x3c, 0x4b, 0x1a, 0x54, 0x22, 0x10, 0xaf, 0x89, 0x97, 0x65 };
            var stream = new MemoryStream(data);

            using (var writer = new BitStreamWriter(stream, false))
            {
                var result = new byte[10];
                writer.Read(result, 0, result.Length);
            }
        }