public class Base62Codec extends Object implements Encoder<byte[],byte[]>, Decoder<byte[],byte[]>, Serializable
| 限定符和类型 | 类和说明 |
|---|---|
static class |
Base62Codec.Base62Decoder
Base62解码器
|
static class |
Base62Codec.Base62Encoder
Base62编码器
|
| 限定符和类型 | 字段和说明 |
|---|---|
static Base62Codec |
INSTANCE
单例
|
| 构造器和说明 |
|---|
Base62Codec() |
public static Base62Codec INSTANCE
public byte[] encode(byte[] data)
public byte[] encode(byte[] data,
boolean useInverted)
data - 被编码的消息useInverted - 是否使用反转风格,即将GMP风格中的大小写做转换public byte[] decode(byte[] encoded)
public byte[] decode(byte[] encoded,
boolean useInverted)
encoded - Base62内容useInverted - 是否使用反转风格,即将GMP风格中的大小写做转换Copyright © 2024. All rights reserved.