Reads a log of Histograms from the provided Stream.
Inheritance: IDisposable, IHistogramLogV1Reader
Exemplo n.º 1
0
 /// <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();
     }
 }