doodle
Toggle table of contents
0.12.0
common
Target filter
common
Switch theme
Search in API
Skip to content
doodle
Core
/
io.nacular.doodle.datatransport
/
LocalFile
/
read
read
abstract
suspend
fun
read
(
progress
:
(
Float
)
->
Unit
=
{}
)
:
ByteArray
?
(
source
)
Reads the file contents as a
ByteArray
.
Return
the file contents or null if there was an error
Parameters
progress
listener