Esempio n. 1
0
 public static TVal[] ReadData <TVal, TInd>(
     this BinSeriesFile <TInd, TVal> file, TInd fromInclusive,
     TInd toExclusive, int maxItemCount)
     where TInd : struct, IComparable, IComparable <TInd>
 {
     return(file.Stream(fromInclusive, toExclusive, maxItemCount: maxItemCount).ToArray());
 }
Esempio n. 2
0
 public static TVal[] ReadDataToEnd <TVal, TInd>(this BinSeriesFile <TInd, TVal> binSeriesFile, TInd fromInclusive)
     where TInd : struct, IComparable, IComparable <TInd>
 {
     return(binSeriesFile.Stream(fromInclusive).ToArray());
 }