public SrvRecord(DataBuffer buffer) { _priority = buffer.ReadShortInt(); _weight = buffer.ReadShortUInt(); _port = buffer.ReadShortUInt(); _domain = buffer.ReadDomainName(); }
public NaptrRecord(DataBuffer buffer) { _order = buffer.ReadShortUInt(); _priority = buffer.ReadShortUInt(); _flags = buffer.ReadCharString(); _services = buffer.ReadCharString(); _regexp = buffer.ReadCharString(); _replacement = buffer.ReadCharString(); }
public TSigRecord(DataBuffer buffer) { _algorithm = buffer.ReadDomainName(); _timeSigned = buffer.ReadLongInt(); _fudge = buffer.ReadShortUInt(); _macSize = buffer.ReadShortUInt(); _mac = buffer.ReadBytes(_macSize); _originalId = buffer.ReadShortUInt(); _error = buffer.ReadShortUInt(); _otherLen = buffer.ReadShortUInt(); _otherData = buffer.ReadBytes(_otherLen); }
public TKeyRecord(DataBuffer buffer) { _algorithm = buffer.ReadDomainName(); _inception = buffer.ReadUInt(); _expiration = buffer.ReadUInt(); _mode = buffer.ReadShortUInt(); _error = buffer.ReadShortUInt(); _keySize = buffer.ReadShortUInt(); _keyData = buffer.ReadBytes(_keySize); _otherSize = buffer.ReadShortUInt(); _otherData = buffer.ReadBytes(_otherSize); }