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);
Parameters
| Name | Type | Description |
|---|---|---|
filename |
String |
The filename of the uncompressed file, with extension. |
compressionFormat |
CompressionFormat |
The compression format. |
Returns
The filename to use for the compressed file.