sdk
Toggle table of contents
androidJvm
Target filter
androidJvm
Switch theme
Search in API
Skip to content
sdk
sdk
/
com.m8test.script.core.api.http.common
/
ByteReadChannel
/
readByte
read
Byte
abstract
fun
readByte
(
scope
:
CoroutineScope
)
:
Deferred
<
Byte
>
异步读取并返回通道中的下一个字节。
Return
一个
Deferred
对象,其未来结果是读取到的
Byte
。
Parameters
scope
执行异步读取操作的协程作用域。
Throws
EOFException
如果通道已关闭且没有更多字节可读。