/// <summary> /// Constructs a NS record by reading bytes from a return message /// </summary> /// <param name="pointer">A logical pointer to the bytes holding the record</param> public Null(Pointer pointer, int length) { data = pointer.ReadBytes(length); }
/// <summary> /// Constructs an AAAA record by reading bytes from a return message /// </summary> /// <param name="pointer">A logical pointer to the bytes holding the record</param> public Aaaa(Pointer pointer) { byte[] b = pointer.ReadBytes(16); ipAddress = new IPAddress(b); }
/// <summary> /// Constructs an ANAME record by reading bytes from a return message /// </summary> /// <param name="pointer">A logical pointer to the bytes holding the record</param> public A(Pointer pointer) { byte[] bytes = pointer.ReadBytes(4); ipAddress = new IPAddress(bytes); }