Contents

numberOfBits

Returns the number of bits used to represent the OSNumber object's integer value.

Declaration

virtual unsigned int numberOfBits() const;

Return Value

The number of bits used to represent the OSNumber object's integer value.

Overview

The number of bits is used to limit the stored value of the OSNumber. Any change to its value is performed as an unsigned long long and then truncated to the number of bits.

See Also

Miscellaneous