docs: public static InputArchive fromInputStream(InputStream stream) throws IOException {
      if (stream instanceof ObjectInput) {
        return new InputArchive((ObjectInput) stream);
      } else {
        return new InputArchive(new ObjectInputStream(stream));
      }
    }