public class AddressEncoderDecoderUtil
extends java.lang.Object
| Constructor and Description |
|---|
AddressEncoderDecoderUtil() |
| Modifier and Type | Method and Description |
|---|---|
static byte |
getAddressHeader(byte headerKind,
Network network,
AddressType addressType) |
static NetworkId |
getNetworkId(Network networkInfo) |
static java.lang.String |
getPrefixHeader(AddressType addressType) |
static java.lang.String |
getPrefixTail(NetworkId network) |
static AddressType |
readAddressType(byte[] addressBytes) |
static Network |
readNetworkType(byte[] addressBytes) |
public static java.lang.String getPrefixHeader(AddressType addressType) throws AddressRuntimeException
AddressRuntimeExceptionpublic static java.lang.String getPrefixTail(NetworkId network)
public static byte getAddressHeader(byte headerKind,
Network network,
AddressType addressType)
public static AddressType readAddressType(byte[] addressBytes)
public static Network readNetworkType(byte[] addressBytes)