read

abstract suspend fun read(progress: (Float) -> Unit = {}): ByteArray?

Reads the file contents as a ByteArray.

Return

the file contents or null if there was an error

Parameters

progress

listener