Exemple #1
0
        private void _read()
        {
            _header = new Header(m_io, this, m_root);
            switch (Header.MessageId.Value)
            {
            case 4294934784: {
                __raw_payload = m_io.ReadBytes((Header.Length - 8));
                var io___raw_payload = new KaitaiStream(__raw_payload);
                _payload = new SomeIpSd(io___raw_payload);
                break;
            }

            default: {
                _payload = m_io.ReadBytes((Header.Length - 8));
                break;
            }
            }
        }
Exemple #2
0
 public SdFlags(KaitaiStream p__io, SomeIpSd p__parent = null, SomeIpSd p__root = null) : base(p__io)
 {
     m_parent = p__parent;
     m_root   = p__root;
     _read();
 }
Exemple #3
0
 public SomeIpSd(KaitaiStream p__io, KaitaiStruct p__parent = null, SomeIpSd p__root = null) : base(p__io)
 {
     m_parent = p__parent;
     m_root   = p__root ?? this;
     _read();
 }