Know all the functions

Report a typo

Match the functions and their descriptions:

Match the items from left and right columns
readText()
readLines()
readBytes()
forEachLine
Reads the whole file and stores it as a variable of type ByteArray
Reads the whole file and stores it as a variable of type List
Reads the whole file and stores it as a variable of type String
Reads the whole file and calls a certain action on each line
___

Create a free account to access the full topic