Companion

Since Kotlin

1.0

Since Kotlin

1.3

Properties

Link copied to clipboard
const val MAX_VALUE: Short = 32767

A constant holding the maximum value an instance of Short can have.

Since Kotlin 1.0
const val MAX_VALUE: Short = 32767

A constant holding the maximum value an instance of Short can have.

Since Kotlin 1.3
Link copied to clipboard
const val MIN_VALUE: Short

A constant holding the minimum value an instance of Short can have.

Since Kotlin 1.0
const val MIN_VALUE: Short

A constant holding the minimum value an instance of Short can have.

Since Kotlin 1.3
Link copied to clipboard
const val SIZE_BITS: Int = 16

The number of bits used to represent an instance of Short in a binary form.

Since Kotlin 1.3
const val SIZE_BITS: Int = 16

The number of bits used to represent an instance of Short in a binary form.

Since Kotlin 1.3
Link copied to clipboard
const val SIZE_BYTES: Int = 2

The number of bytes used to represent an instance of Short in a binary form.

Since Kotlin 1.3
const val SIZE_BYTES: Int = 2

The number of bytes used to represent an instance of Short in a binary form.

Since Kotlin 1.3