Skip to content

IOFile.GetCompressedFilename Method

Definition

Gets the filename to use for a file written with the specified compression format, for example "name.wav" compressed with GZip becomes "name.wav.gz".

public static string GetCompressedFilename(string filename, CompressionFormat compressionFormat);

View source

Parameters

Name Type Description
filename String The filename of the uncompressed file, with extension.
compressionFormat CompressionFormat The compression format.

Returns

String

The filename to use for the compressed file.