public interface DnsRecordEncoder
DnsRecord
into binary representation.DatagramDnsQueryEncoder
Modifier and Type | Field and Description |
---|---|
static DnsRecordEncoder |
DEFAULT |
Modifier and Type | Method and Description |
---|---|
void |
encodeQuestion(DnsQuestion question,
ByteBuf out)
Encodes a
DnsQuestion . |
void |
encodeRecord(DnsRecord record,
ByteBuf out)
Encodes a
DnsRecord . |
static final DnsRecordEncoder DEFAULT
void encodeQuestion(DnsQuestion question, ByteBuf out) throws Exception
DnsQuestion
.out
- the output buffer where the encoded question will be written toException
Copyright © 2008–2024 The Netty Project. All rights reserved.