Пример #1
0
        public void TestProcessRepeatBytes()
        {
            var r = ProcessRepeatBytes.FromFile(SourceFile("process_xor_4.bin"));

            Assert.AreEqual(r.Bufs[0], new byte[] { 114, 37, 61, 138, 20 });
            Assert.AreEqual(r.Bufs[1], new byte[] { 74, 82, 170, 16, 68 });
        }
 public ProcessRepeatBytes(KaitaiStream p__io, KaitaiStruct p__parent = null, ProcessRepeatBytes p__root = null) : base(p__io)
 {
     m_parent = p__parent;
     m_root   = p__root ?? this;
     _read();
 }