read
Reads content from a file using a buffered reader.
Receiver
The file to read from.
Parameters
block
A lambda function containing the reading logic.
Reads content from a file using a buffered reader.
The file to read from.
A lambda function containing the reading logic.