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

limit

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