readExactly

suspend fun readExactly(n: Int): ByteArray

Suspends until exactly n bytes have been read, then returns them.