abstract fun request(atLeast: Int = 1): IoBuffer?

Request buffer range atLeast bytes length

There are the following reasons for this function to return null:


Throwable - if the channel has been closed with an exception or cancelled

Return buffer for the requested range or null if it is impossible to provide such a buffer view