private void _parse() { f_size = false; __raw_format = m_io.ReadBytes(2); var io___raw_format = new KaitaiStream(__raw_format); _format = new FormatType(io___raw_format, this, m_root); _dstAddress = new HdlcAddress(m_io, this, m_root); _srcAddress = new HdlcAddress(m_io, this, m_root); __raw_control = m_io.ReadBytes(1); var io___raw_control = new KaitaiStream(__raw_control); _control = new ControlType(io___raw_control, this, m_root); if ((Control.FrameType & 1) == 0) { _hcs = m_io.ReadU2be(); } }
public HdlcAddressByte(KaitaiStream io, HdlcAddress parent = null, DlmsHdlc root = null) : base(io) { m_parent = parent; m_root = root; _parse(); }