Пример #1
0
 @Override
 public Object fromByteBuffer(ByteBuffer byteBuffer) {
   return serDes.deserialize(byteBuffer);
 }
Пример #2
0
 @Override
 public ByteBuffer toByteBuffer(Object obj) {
   return serDes.serialize(obj);
 }