public class BytesToBytesCodes extends ObjectToBytesCodes<byte[]>
| 构造器和说明 |
|---|
BytesToBytesCodes() |
| 限定符和类型 | 方法和说明 |
|---|---|
byte[] |
decode(byte[] cipherObj,
Type plainType)
decode cipher object to plain object
|
byte[] |
encode(byte[] plainObj)
encode plain object to cipher object
|
ordercompareTo, matchDecodeType, matchEncodeObjectpublic byte[] encode(byte[] plainObj)
Codesencode 在类中 ObjectToBytesCodes<byte[]>plainObj - plain object to be encodedpublic byte[] decode(byte[] cipherObj,
Type plainType)
Codesdecode 在类中 ObjectToBytesCodes<byte[]>cipherObj - cipher object to be decodedplainType - expected type of plain objectCopyright © 2020. All rights reserved.