public static @Nullable String readStringOrNull(DataInput in) throws IOException {
    if (!in.readBoolean()) return null;
    return readString(in);
  }
public static @Nullable String readStringOrNull(DataInput in)