writeWhile

open suspend fun writeWhile(block: (ByteBuffer) -> Boolean)