@Extensible(coded=true) @Unstable public interface Serializer
AbstractByteBuf encode(Object object, Map<String,String> context) throws SofaRpcException
object - 对象context - 上下文SofaRpcException - 序列化异常Object decode(AbstractByteBuf data, Class clazz, Map<String,String> context) throws SofaRpcException
data - 原始字节数组clazz - 期望的类型context - 上下文SofaRpcException - 序列化异常void decode(AbstractByteBuf data, Object template, Map<String,String> context) throws SofaRpcException
data - 原始字节数组template - 模板对象context - 上下文SofaRpcException - 序列化异常Copyright © 2008–2018 The Ant Financial. All rights reserved.