public override bool Decode(PduMarshaler marshaler) { try { if (!base.Decode(marshaler)) return false; this.magic = marshaler.ReadUInt32(); this.version = marshaler.ReadUInt16(); this.decodedLen += 6; return true; } catch { marshaler.Reset(); throw new PDUDecodeException(this.GetType(), marshaler.ReadToEnd()); } }