code: @SuppressWarnings("unchecked")
  	public static <T> TrialMeter<T> read(
  		final InputStream in,
  		final Reader<? extends T> reader
  	) {
  		try (AutoCloseableXMLStreamReader xml = XML.reader(in)) {
  			xml.next();
  			return TrialMeter.<T>reader(reader).read(xml);
  		} catch (XMLStreamException e) {
  			throw new UncheckedIOException(new IOException(e));
  		}
  	}
docs: Read existing {@code TrialMeter} (intermediate) results from the given
  input stream.
  
  @param in the {@link InputStream} to read from
  @param reader the writer of the parameter type
  @param <T> the parameter type
  @throws UncheckedIOException if reading the {@code TrialMeter} fails
  @return the {@code TrialMeter} object read from the input stream