toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-core
/
korlibs.io.stream
/
consume
consume
inline suspend
fun
AsyncInputStream
.
consume
(
autoclose
:
Boolean
=
true
,
temp
:
ByteArray
=
ByteArray(0x10000)
,
block
:
(
data
:
ByteArray
,
offset
:
Int
,
size
:
Int
)
->
Unit
)