Companion

object Companion

Functions

Link copied to clipboard
inline fun fromShort(value: Short): Flags16

Creates a new Flags16 instance using the specified signed 16-bit integer value.

Link copied to clipboard
inline fun fromUShort(value: UShort): Flags16

Creates a new Flags16 instance using the specified unsigned 16-bit integer value.

Properties

Link copied to clipboard

Flags whose all the bits are set to 1.

Link copied to clipboard

Flags whose none of the bits are set to 1.

Link copied to clipboard
const val SIZE_BITS: Int = 16

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

Link copied to clipboard
const val SIZE_BYTES: Int = 2

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