Example #1
0
 public Option(KaitaiStream p__io, CoapPacket p__parent = null, CoapPacket p__root = null) : base(p__io)
 {
     m_parent          = p__parent;
     m_root            = p__root;
     f_delta           = false;
     f_length          = false;
     f_isPayloadMarker = false;
     _read();
 }
Example #2
0
 public CoapPacket(KaitaiStream p__io, KaitaiStruct p__parent = null, CoapPacket p__root = null) : base(p__io)
 {
     m_parent = p__parent;
     m_root   = p__root ?? this;
     _read();
 }