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