read_txt
file
- a File
struct to read text data from
Returns an array of felts read from the file, panics if read was not possible
Fully qualified path: snforge_std::fs::file_operations::read_txt
pub fn read_txt(file: File) -> Array<felt252>
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
file
- a File
struct to read text data from
Returns an array of felts read from the file, panics if read was not possible
Fully qualified path: snforge_std::fs::file_operations::read_txt
pub fn read_txt(file: File) -> Array<felt252>