DecoderInputBuffer.InsufficientCapacityException


class DecoderInputBuffer.InsufficientCapacityException : IllegalStateException


Thrown when an attempt is made to write into a DecoderInputBuffer whose bufferReplacementMode is BUFFER_REPLACEMENT_MODE_DISABLED and who data capacity is smaller than required.

Summary

Public constructors

InsufficientCapacityException(
    currentCapacity: Int,
    requiredCapacity: Int
)

Creates an instance.

Public properties

Int

The current capacity of the buffer.

Int

The required capacity of the buffer.

Public constructors

InsufficientCapacityException

InsufficientCapacityException(
    currentCapacity: Int,
    requiredCapacity: Int
)

Creates an instance.

Parameters
currentCapacity: Int

The current capacity of the buffer.

requiredCapacity: Int

The required capacity of the buffer.

Public properties

currentCapacity

val currentCapacityInt

The current capacity of the buffer.

requiredCapacity

val requiredCapacityInt

The required capacity of the buffer.