of
Construct a bitfield out of discrete flags
Return
bitfield
Construct a bitfield out of a collection of flags
Return
bitfield
inline fun <T : Flag<Byte>, Enum<T>> Flags<Byte, T>.of(value: Byte?): EnumSet<T>
Content copied to clipboard
inline fun <T : Flag<UByte>, Enum<T>> Flags<UByte, T>.of(value: UByte?): EnumSet<T>
Content copied to clipboard
inline fun <T : Flag<Short>, Enum<T>> Flags<Short, T>.of(value: Short?): EnumSet<T>
Content copied to clipboard
inline fun <T : Flag<UShort>, Enum<T>> Flags<UShort, T>.of(value: UShort?): EnumSet<T>
Content copied to clipboard
inline fun <T : Flag<Int>, Enum<T>> Flags<Int, T>.of(value: Int?): EnumSet<T>
Content copied to clipboard
inline fun <T : Flag<UInt>, Enum<T>> Flags<UInt, T>.of(value: UInt?): EnumSet<T>
Content copied to clipboard
Construct a bitfield out of a binary value
Return
bitfield