@Override
  public void fromData(DataInput in) throws IOException, ClassNotFoundException {
    name = in.readUTF();
    userId = in.readInt();
  }
Creates an "empty" User whose contents are filled in by invoking its toData() method
geode-junit/src/main/java/com/examples/ds/User.java