Skip to content

IOFile.Save Method

Definition

Saves this file to a directory with the specified name.

public string Save(string directory, string name, CompressionFormat compressionFormat = CompressionFormat.MrKWatkins.OakIO.Compression.CompressionFormat);

View source

Parameters

Name Type Description
directory String The directory to write the file to.
name String The name of the file without extension.
compressionFormat CompressionFormat Optional compression format to use.

Returns

String

The full path of the written file.