Function read

Source
pub fn read<F: PrimeField>(path: &str) -> Result<Data<F>>
Expand description

read(path) loads the whole content of the file in path and stores it as bytes. This function raises an error when the path does not exist, or if there is an issue with reading.