public PositionInSeq(KaitaiStream p__io, KaitaiStruct p__parent = null, PositionInSeq p__root = null) : base(p__io) { m_parent = p__parent; m_root = p__root ?? this; f_header = false; _read(); }
public void TestPositionInSeq() { var r = PositionInSeq.FromFile(SourceFile("position_in_seq.bin")); Assert.AreEqual(r.Numbers, new List <int> { (0 + 1), 2, 3 }); }
public HeaderObj(KaitaiStream p__io, PositionInSeq p__parent = null, PositionInSeq p__root = null) : base(p__io) { m_parent = p__parent; m_root = p__root; _read(); }
public void TestPositionInSeq() { PositionInSeq r = PositionInSeq.FromFile(SourceFile("position_in_seq.bin")); CollectionAssert.AreEqual(r.Numbers, new[] { 1, 2, 3 }); }