Initializerswift 6.0.1Swift

    init(bitPattern:)

    Creates a new instance with the same memory representation as the given value.

    init(bitPattern x: UInt32)

    Parameters

    x

    A value to use as the source of the new instance’s binary representation.

    This initializer does not perform any range or overflow checking. The resulting instance may not have the same numeric value as bitPattern—it is only guaranteed to use the same pattern of bits in its binary representation.

    Other members in extension

    Types

    Typealiases

    Type members

    Instance members

    Show obsolete interfaces (1)

    Hide obsolete interfaces