readFully
expect abstract suspend fun readFully(dst: ByteArray, offset: Int, length: Int)
Content copied to clipboard
Reads all length bytes to dst buffer or fails if channel has been closed. Suspends if not enough bytes available.
abstract suspend fun readFully(dst: ArrayBuffer, offset: Int, length: Int)
Content copied to clipboard
actual abstract suspend fun readFully(dst: ByteArray, offset: Int, length: Int)
Content copied to clipboard
Reads all length bytes to dst buffer or fails if channel has been closed. Suspends if not enough bytes available.
actual abstract suspend fun readFully(dst: ByteArray, offset: Int, length: Int)
Content copied to clipboard
Reads all length bytes to dst buffer or fails if channel has been closed. Suspends if not enough bytes available.
abstract suspend fun readFully(dst: <ERROR CLASS><<ERROR CLASS>>, offset: Int, length: Int)
Content copied to clipboard
abstract suspend fun readFully(dst: <ERROR CLASS><<ERROR CLASS>>, offset: Long, length: Long)
Content copied to clipboard
actual abstract suspend fun readFully(dst: ByteArray, offset: Int, length: Int)
Content copied to clipboard
Reads all length bytes to dst buffer or fails if channel has been closed. Suspends if not enough bytes available.
Reads all length bytes to dst buffer or fails if channel has been closed. Suspends if not enough bytes available.