public class EncodingUtils
extends java.lang.Object
Constructor and Description |
---|
EncodingUtils() |
Modifier and Type | Method and Description |
---|---|
static BytesValue |
decodeBase58(java.lang.String encoded)
Decode base58 encoded string.
|
static BytesValue |
decodeBase58WithCheck(java.lang.String encoded)
Decode base58 with checksum encoded string.
|
static BytesValue |
decodeHexa(java.lang.String encoded)
Decode hexa encoded string.
|
static java.lang.String |
encodeBase58(BytesValue bytesValue)
Encode bytesValue to base58.
|
static java.lang.String |
encodeBase58WithCheck(BytesValue bytesValue)
Encode bytesValue to base58 with checksum.
|
static java.lang.String |
encodeHexa(BytesValue bytesValue)
Encode bytesValue to hexa.
|
public static java.lang.String encodeHexa(BytesValue bytesValue)
bytesValue
- a bytesValuepublic static BytesValue decodeHexa(java.lang.String encoded)
encoded
- hexa encoded stringDecodingFailureException
- if decoding failurepublic static java.lang.String encodeBase58(BytesValue bytesValue)
bytesValue
- a bytesValuepublic static BytesValue decodeBase58(java.lang.String encoded)
encoded
- base58 encoded stringDecodingFailureException
- if decoding failurepublic static java.lang.String encodeBase58WithCheck(BytesValue bytesValue)
bytesValue
- a bytesValuepublic static BytesValue decodeBase58WithCheck(java.lang.String encoded)
encoded
- base58 with checksum encoded stringDecodingFailureException
- if decoding failure