private static void Encode(string sourceFile, string outputFile) { using (var source = OpenSourceReader(sourceFile)) using (var output = OpenOutputStream(outputFile)) TraceFile.Save(output, TraceFile.LoadText(source)); }
public void SaveToNbt(string filename) => TraceFile.Save(filename, mTrace);