readAll

suspend fun readAll(): ByteArray

Reads all bytes from the beginning of the file to the end.