internal override void ParseData(ReadOnlySpan <byte> resultData, int startPosition, int length) { Version = DnsMessageBase.ParseUShort(resultData, ref startPosition); OperationCode = (LlqOperationCode)DnsMessageBase.ParseUShort(resultData, ref startPosition); ErrorCode = (LlqErrorCode)DnsMessageBase.ParseUShort(resultData, ref startPosition); Id = DnsMessageBase.ParseULong(resultData, ref startPosition); LeaseTime = TimeSpan.FromSeconds(DnsMessageBase.ParseUInt(resultData, ref startPosition)); }
internal override void ParseRecordData(byte[] resultData, int startPosition, int length) { Preference = DnsMessageBase.ParseUShort(resultData, ref startPosition); NodeID = DnsMessageBase.ParseULong(resultData, ref startPosition); }