public class Base62Codec extends Object implements Serializable
| Constructor and Description |
|---|
Base62Codec(byte[] alphabet)
构造
|
| Modifier and Type | Method and Description |
|---|---|
static Base62Codec |
createGmp()
创建GMP风格的Base62编码解码器对象
|
static Base62Codec |
createInverted()
创建Inverted风格的Base62编码解码器对象
|
byte[] |
decode(byte[] encoded)
解码Base62消息
|
byte[] |
encode(byte[] message)
编码指定消息bytes为Base62格式的bytes
|
public static Base62Codec createGmp()
Base62Codecpublic static Base62Codec createInverted()
Base62Codecpublic byte[] encode(byte[] message)
message - 被编码的消息public byte[] decode(byte[] encoded)
encoded - Base62内容Copyright © 2021. All rights reserved.