read

abstract suspend fun read(into: ByteArray, offset: Int, length: Int): Int(source)

Reads up to length bytes into into at offset. Returns the count, or -1 at end of stream.