libnexakotlin
Toggle table of contents
0.5.12
common
Platform filter
common
Switch theme
Search in API
libnexakotlin
libnexakotlin
/
org.nexa.libnexakotlin
/
readBytes
read
Bytes
fun
Url
.
readBytes
(
idleInMs
:
Number
=
10000
,
timeoutInMs
:
Number
=
120000
,
maxReadSize
:
Number
=
250000000
,
context
:
CoroutineContext
?
=
null
)
:
ByteArray
This helper function reads the contents of the URL. This duplicates the API of other URL classes