public ROMSample RunChain(ROMSample sample) { IEnumerable <byte> input = sample.data.AsParallel(); plugins.ForEach(x => input = x.corruptor.Corrupt(input)); sample.data = input; return(sample); }
public void CommitSampleToROM(ROMSample sample) { corruptedData.Add(sample); }