open fun request(atLeast: Int): IoBuffer?
Overrides ReadSession.request
Request buffer range atLeast bytes length
There are the following reasons for this function to return null
:
atLeast
bytes available)
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