[go: up one dir, main page]

Function fs_err::tokio::read

source ·
pub async fn read(path: impl AsRef<Path>) -> Result<Vec<u8>>
Available on crate feature tokio only.
Expand description

Reads the entire contents of a file into a bytes vector.

Wrapper for tokio::fs::read.