private void RunPipeline() { if (!PreRead.Any()) { return; } while (PreRead.Count > 0) { var action = PreRead.Pop(); action.Run(Context); _executedPreActions.Push(action); } }
protected override void Read(long size) { Console.WriteLine("here"); var compType = GetCompressionType(); Console.WriteLine(compType); if (compType != CompressionType.Uncompressed) { PreRead.Push(new DecompressFile(compType)); } base.Read(size); }