/// <summary> /// Reads each histogram out from the underlying stream. /// </summary> /// <param name="inputStream">The <see cref="Stream"/> to read from.</param> /// <returns>Return a lazily evaluated sequence of histograms.</returns> public static IEnumerable <HistogramBase> Read(Stream inputStream) { using (var reader = new HistogramLogReader(inputStream)) { return(reader.ReadHistograms()); } }
/// <summary> /// Reads each histogram out from the underlying stream. /// </summary> /// <param name="inputStream">The <see cref="Stream"/> to read from.</param> /// <returns>Return a lazily evaluated sequence of histograms.</returns> public static IEnumerable<HistogramBase> Read(Stream inputStream) { using (var reader = new HistogramLogReader(inputStream)) { return reader.ReadHistograms(); } }