binary-streams / loggersoft.kotlin.streams / BufferedStreamInput / bytesAvailable

bytesAvailable

val bytesAvailable: Long

Contains available bytes for read/write and the negative value if available bytes is not available at moment. Also this property take into account limit value if it has non-negative value and isSupportLimit is true.