binary-streams / loggersoft.kotlin.streams / Stream / limit

limit

abstract var limit: Long

The limit position of the stream for read and write. If someone try to read or write out of this bound (position >= limit) the LimitOutOfBoundsException should be thrown.

Note
Property isSupportLimit indicates that stream implementation are support limit.