pub async fn read(path: impl AsRef<Path>) -> Result<Vec<u8>>Expand description
Read the entire contents of a file into a byte vector.
This is a convenience function for reading entire files. For large files, consider using Uring::read_at with explicit offsets and chunking.