public void WriteAsPbf(string outputFilePath, IProgress <ProgressData> progress = null) { using (var writer = new BinaryWriter(File.Open(outputFilePath, FileMode.Create))) { PbfLcMsRun.WriteAsPbf(this, writer, progress); } }
public void WriteAsPbf(InMemoryLcMsRun imlr, BinaryWriter writer, IProgress <ProgressData> progress = null) { PbfLcMsRun.WriteAsPbf(this, writer, progress); }