| 程序包 | 说明 |
|---|---|
| com.jn.langx.codec | |
| com.jn.langx.codec.hex | |
| com.jn.langx.codec.z85 |
| 限定符和类型 | 方法和说明 |
|---|---|
T |
ICodec.decode(byte[] bytes) |
byte[] |
BinaryDecoder.decode(byte[] source)
Decodes a byte array and returns the results as a byte array.
|
byte[] |
BinaryCodec.decode(byte[] source) |
O |
Decoder.decode(I source)
Decodes an "encoded" Object and returns a "decoded" Object.
|
Object |
BaseNCodec.decodeObject(Object obj)
Decodes an Object using the Base-N algorithm.
|
byte[] |
BinaryEncoder.encode(byte[] source)
Encodes a byte array and return the encoded data as a byte array.
|
byte[] |
BinaryCodec.encode(byte[] source) |
O |
Encoder.encode(I source)
Encodes an "Object" and returns the encoded content as an Object.
|
byte[] |
ICodec.encode(T obj) |
Object |
BaseNCodec.encodeObject(Object obj)
Encodes an Object using the Base-N algorithm.
|
| 限定符和类型 | 方法和说明 |
|---|---|
byte[] |
HexCodec.decode(byte[] array)
Converts an array of character bytes representing hexadecimal values into an array of bytes of those same values.
|
static byte[] |
Hex.decodeHex(char[] data)
Converts an array of characters representing hexadecimal values into an array of bytes of those same values.
|
| 限定符和类型 | 方法和说明 |
|---|---|
byte[] |
Z85.decode(byte[] bytes) |
byte[] |
Z85Decoder.decode(String string) |
String |
Z85Encoder.encode(byte[] bytes) |
byte[] |
Z85.encode(byte[] bytes) |
Copyright © 2021. All rights reserved.