Drift Engine Documentation
Toggle table of contents
1.0.0
common
Target filter
common
Switch theme
Search in API
Skip to content
Drift Engine Documentation
cli
/
dev.gmitch215.drift.cli.serve
/
Connection
/
read
read
abstract
fun
read
(
buffer
:
ByteArray
,
offset
:
Int
,
length
:
Int
)
:
Int
(
source
)
Reads up to
length
bytes; -1 at the end of the stream, on an error or on a timeout.