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

limit

open 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.