availableForRead

open val availableForRead: Int

Overrides ByteReadChannel.availableForRead

Overrides ReadSession.availableForRead

Returns number of bytes that can be read without suspension. Read operations do no suspend and return immediately when this number is at least the number of bytes requested for read.