public interface Socks5AddressDecoder
Modifier and Type | Field and Description |
---|---|
static Socks5AddressDecoder |
DEFAULT |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
decodeAddress(Socks5AddressType addrType,
ByteBuf in)
Decodes a SOCKS5 address field into its string representation.
|
static final Socks5AddressDecoder DEFAULT
java.lang.String decodeAddress(Socks5AddressType addrType, ByteBuf in) throws java.lang.Exception
addrType
- the type of the addressin
- the input buffer which contains the SOCKS5 address field at its reader indexjava.lang.Exception