Contents

bitWidth

The number of bits in the current binary representation of this value.

Declaration

var bitWidth: Int { get }

Discussion

This property is a constant for instances of fixed-width integer types.

See Also

Working with Binary Representation