Companion

object Companion

Functions

Link copied to clipboard
inline fun fromByte(value: Byte): Flags8

Creates a new Flags8 instance using the specified signed 8-bit integer value.

Link copied to clipboard
inline fun fromUByte(value: UByte): Flags8

Creates a new Flags8 instance using the specified unsigned 8-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 = 8

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

Link copied to clipboard
const val SIZE_BYTES: Int = 1

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