示例#1
0
 @Override
 public Object fromByteBuffer(ByteBuffer byteBuffer) {
   return serDes.deserialize(byteBuffer);
 }
示例#2
0
 @Override
 public ByteBuffer toByteBuffer(Object obj) {
   return serDes.serialize(obj);
 }