binary-streams / loggersoft.kotlin.streams / LimitOutOfBoundsException

LimitOutOfBoundsException

class LimitOutOfBoundsException : IOException

Thrown when stream user read or write outside of current limit.

Parameters

position - current position in the stream.

limit - current limit in the stream.

message - message text or null if not required.

Author
Alexander Kornilov (akornilov.82@gmail.com).

Constructors

<init>

Thrown when stream user read or write outside of current limit.

LimitOutOfBoundsException(position: Long, limit: Long, message: String? = null)

Properties

limit

current limit in the stream.

val limit: Long

position

current position in the stream.

val position: Long