deltachat::tools

Function read_file

Source
pub async fn read_file(context: &Context, path: &Path) -> Result<Vec<u8>>
Expand description

Reads the file and returns its context as a byte vector.