Interface DnsRecordEncoder

All Known Implementing Classes:
DefaultDnsRecordEncoder

public interface DnsRecordEncoder
Encodes a DnsRecord into binary representation.
See Also:
  • Field Details

  • Method Details

    • encodeQuestion

      void encodeQuestion(DnsQuestion question, ByteBuf out) throws java.lang.Exception
      Encodes a DnsQuestion.
      Parameters:
      out - the output buffer where the encoded question will be written to
      Throws:
      java.lang.Exception
    • encodeRecord

      void encodeRecord(DnsRecord record, ByteBuf out) throws java.lang.Exception
      Encodes a DnsRecord.
      Parameters:
      out - the output buffer where the encoded record will be written to
      Throws:
      java.lang.Exception