public VTFGenerator(Stream inputStream, Stream outputStream) { processDelegate = new ProcessAsync(this.Process); _output = new VTFOutput(outputStream); _smallInputFile = new MemoryStream(); inputStream.CopyTo(_smallInputFile); }
public VTFGenerator(Stream inputStream, Stream outputStream) { processDelegate = new ProcessAsync(this.Process); _output = new VTFOutput(outputStream); _smallInputFile = new MemoryStream(); inputStream.CopyTo(_smallInputFile); }
public VTFGenerator(string inputFile, string outputFile) { processDelegate = new ProcessAsync(this.Process); // Create the output directories (new FileInfo(outputFile)).Directory.Create(); _output = new VTFOutput(outputFile); _smallInputFile = new FileStream(inputFile, FileMode.Open); }
public VTFGenerator(string inputFile, string outputFile) { processDelegate = new ProcessAsync(this.Process); // Create the output directories (new FileInfo(outputFile)).Directory.Create(); _output = new VTFOutput(outputFile); _smallInputFile = new FileStream(inputFile, FileMode.Open); }