Expand description
Functions to read from files.
Functionsยง
- head
- Reads the first N bytes from a file.
- head_
to_ string - Reads the first
N
bytes from a file and return them as a string. - head_
to_ string_ with_ message - Reads the first
N
bytes from a file and return them as a string. If the file size is greater thanN
bytes, the truncation message will be put at the end of the String.