Function fractal::utils::media::save_to_file

source ยท
pub async fn save_to_file(
    obj: &impl IsA<Widget>,
    data: Vec<u8>,
    filename: String
)
Expand description

Save the given data to a file with the given filename.