///<summary> ///</summary> ///<param name="rr"></param> public RR(RecordReader rr) { TimeLived = 0; Name = rr.ReadDomainName(); Type = (Type)rr.ReadUInt16(); Class = (Class)rr.ReadUInt16(); TTL = rr.ReadUInt32(); RDLENGTH = rr.ReadUInt16(); Record = rr.ReadRecord(Type); Record.RR = this; }
///<summary> ///</summary> ///<param name="rr"></param> public Header(RecordReader rr) { ID = rr.ReadUInt16(); _flags = rr.ReadUInt16(); QDCOUNT = rr.ReadUInt16(); ANCOUNT = rr.ReadUInt16(); NSCOUNT = rr.ReadUInt16(); ARCOUNT = rr.ReadUInt16(); }
///<summary> ///</summary> ///<param name="rr"></param> public Header(RecordReader rr) { ID = rr.ReadUInt16(); _flags = rr.ReadUInt16(); QDCOUNT = rr.ReadUInt16(); ANCOUNT = rr.ReadUInt16(); NSCOUNT = rr.ReadUInt16(); ARCOUNT = rr.ReadUInt16(); }
///<summary> ///</summary> ///<param name="rr"></param> public Question(RecordReader rr) { QName = rr.ReadDomainName(); QType = (QType)rr.ReadUInt16(); QClass = (QClass)rr.ReadUInt16(); }
///<summary> ///</summary> ///<param name="rr"></param> public Question(RecordReader rr) { QName = rr.ReadDomainName(); QType = (QType) rr.ReadUInt16(); QClass = (QClass) rr.ReadUInt16(); }
///<summary> ///</summary> ///<param name="rr"></param> public RR(RecordReader rr) { TimeLived = 0; Name = rr.ReadDomainName(); Type = (Type) rr.ReadUInt16(); Class = (Class) rr.ReadUInt16(); TTL = rr.ReadUInt32(); RDLENGTH = rr.ReadUInt16(); Record = rr.ReadRecord(Type); Record.RR = this; }