deltachat::tools

Function read_file

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

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