pub fn create_file<T: Write>(
custom_filename: &str,
file: T,
encoding: Encoding,
output_encoding: Encoding,
yaml: bool,
) -> Result<()>
Available on crate feature
cat-system
only.Expand description
Create a new CSTL file.
custom_filename
- The path of input file.file
- The writer to write the CSTL file to.encoding
- The encoding of the CSTL file.output_encoding
- The encoding to use for the input file.yaml
- Whether to use YAML format.