Companion

Since Kotlin

1.0

Since Kotlin

1.3

Properties

Link copied to clipboard
const val MAX_VALUE: Byte = 127

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

Since Kotlin 1.0
const val MAX_VALUE: Byte = 127

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

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

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

Since Kotlin 1.0
const val MIN_VALUE: Byte

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

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

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

Since Kotlin 1.3
const val SIZE_BITS: Int = 8

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

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

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

Since Kotlin 1.3
const val SIZE_BYTES: Int = 1

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

Since Kotlin 1.3