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