@Override
 public ByteBuffer writeObject(Object object) {
   return ByteBuffer.wrap(SERIALIZER.encode(object));
 }
 @Override
 public <T> T readObject(ByteBuffer buffer) {
   return SERIALIZER.decode(buffer);
 }