Example #1
0
 @Override
 public void readObject(BufferInput buffer, Serializer serializer) {
   super.readObject(buffer, serializer);
   value = serializer.readObject(buffer);
 }
Example #2
0
 @Override
 public void writeObject(BufferOutput buffer, Serializer serializer) {
   super.writeObject(buffer, serializer);
   serializer.writeObject(value, buffer);
 }