Function sgx_tprotected_fs::read
source · [−]pub fn read<P: AsRef<Path>>(path: P) -> Result<Vec<u8>>
Expand description
Read the entire contents of a file into a bytes vector.
pub fn read<P: AsRef<Path>>(path: P) -> Result<Vec<u8>>
Read the entire contents of a file into a bytes vector.