public class Base58Codec extends Object implements Encoder<byte[],String>, Decoder<CharSequence,byte[]>
Modifier and Type | Class and Description |
---|---|
static class |
Base58Codec.Base58Decoder
Base58解码器
|
static class |
Base58Codec.Base58Encoder
Base58编码器
|
Modifier and Type | Field and Description |
---|---|
static Base58Codec |
INSTANCE |
Constructor and Description |
---|
Base58Codec() |
Modifier and Type | Method and Description |
---|---|
byte[] |
decode(CharSequence encoded)
解码给定的Base58字符串
|
String |
encode(byte[] data)
Base58编码
|
public static Base58Codec INSTANCE
public String encode(byte[] data)
public byte[] decode(CharSequence encoded) throws IllegalArgumentException
decode
in interface Decoder<CharSequence,byte[]>
encoded
- Base58编码字符串IllegalArgumentException
- 非标准Base58字符串Copyright © 2024. All rights reserved.