Interface DnsRecordEncoder

    • Method Detail

      • 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