123module juptune.dns.encoding;
alias dnsEncodeQuery = __MARMOS_BUG__;
Encodes a DNS query into the on-the-wire format initially described in RFC1035.
This is a low-level function that generally doesn't need to be called by itself, please use the higher level stuff such as TODO.
If this function throws an error, the contents of writeris undefined.
DnsEncodingError.bufferTooSmallif the write buffer is too small to fit the encoded record.
Anything that putQuestions(and DnsPutQuestionFuncby association) can throw.
Anything that putAdditionalRecords(and DnsStartNextRecordFuncby association) can throw.