Interface Socks5AddressEncoder


public interface Socks5AddressEncoder
Encodes a SOCKS5 address into binary representation.
See Also:
  • Field Details

  • Method Details

    • encodeAddress

      void encodeAddress(Socks5AddressType addrType, String addrValue, ByteBuf out) throws Exception
      Encodes a SOCKS5 address.
      Parameters:
      addrType - the type of the address
      addrValue - the string representation of the address
      out - the output buffer where the encoded SOCKS5 address field will be written to
      Throws:
      Exception