@Override
  public void toData(DataOutput out) throws IOException {
    out.writeUTF(name);
    out.writeInt(userId);
  }
Creates an "empty" User whose contents are filled in by invoking its toData() method
geode-junit/src/main/java/com/examples/ds/User.java