@RaincatSPI(value="protostuff") public class ProtostuffSerializer extends Object implements ObjectSerializer
| 构造器和说明 |
|---|
ProtostuffSerializer() |
public byte[] serialize(Object obj) throws TransactionException
ObjectSerializerserialize 在接口中 ObjectSerializerobj - the objTransactionException - the transaction exceptionpublic <T> T deSerialize(byte[] param,
Class<T> clazz)
throws TransactionException
ObjectSerializerdeSerialize 在接口中 ObjectSerializerT - the type parameterparam - the paramclazz - the clazzTransactionException - the transaction exceptionCopyright © 2019 dromara. All rights reserved.