availableForWrite

open val availableForWrite: Int

Overrides ByteWriteChannel.availableForWrite

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