MavCompanion

The companion object for a MavBitmask.

Functions

Link copied to clipboard
abstract fun getEntryFromValueOrNull(v: UInt): T?

Returns the entry corresponding to the given value if it exists in the enum, null otherwise.

Link copied to clipboard
abstract fun getFlagsFromValue(v: UInt): List<T>

Returns the list of entries corresponding to the given bitmask value.