public class Base85Codec extends Object implements Encoder<byte[],byte[]>, Decoder<byte[],byte[]>, Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
Base85Codec.Base85Decoder
Base85解码器
|
static class |
Base85Codec.Base85Encoder
Base85编码器
|
| Modifier and Type | Field and Description |
|---|---|
static Base85Codec |
INSTANCE |
| Constructor and Description |
|---|
Base85Codec() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
decode(byte[] encoded)
解码Base85消息
|
byte[] |
decode(byte[] encoded,
boolean useZ85)
解码Base85消息
|
byte[] |
encode(byte[] data)
编码指定消息bytes为Base85格式的bytes
|
byte[] |
encode(byte[] data,
boolean useZ85)
编码指定消息bytes为Base85格式的bytes
|
public static final Base85Codec INSTANCE
public byte[] encode(byte[] data)
public byte[] encode(byte[] data,
boolean useZ85)
data - 被编码的消息useZ85 - 是否使用Z85风格(ZeroMQ定义的安全字母表,无特殊符号)public byte[] decode(byte[] encoded)
public byte[] decode(byte[] encoded,
boolean useZ85)
encoded - Base85内容useZ85 - 是否使用Z85风格Copyright © 2026. All rights reserved.