canWrite

open fun canWrite(bytes: Int): Boolean

Returns true if stream has place for bytes.