Skip to main content

write_file_base64

Function write_file_base64 

Source
pub fn write_file_base64(path: &str, b64: &str) -> Result<String, String>
Expand description

Write binary content (given as base64) to a file. For large media that can’t go through write_file’s String content. Returns the path on success.