internal static DnsOptionUpdateLease Read(DataSegment data) { if (data.Length < 4) { return((DnsOptionUpdateLease)null); } return(new DnsOptionUpdateLease(data.ReadInt(0, Endianity.Big))); }
internal static DnsOptionUpdateLease Read(DataSegment data) { if (data.Length < ConstDataLength) return null; int lease = data.ReadInt(0, Endianity.Big); return new DnsOptionUpdateLease(lease); }
internal static DnsOptionUpdateLease Read(DataSegment data) { if (data.Length < ConstDataLength) { return(null); } int lease = data.ReadInt(0, Endianity.Big); return(new DnsOptionUpdateLease(lease)); }