docs: @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));
  		}
  	}