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
addValuefreeinit(const char *, unsigned int)init(unsigned long long, unsigned int)isEqualTo(const OSMetaClassBase *)isEqualTo(const OSNumber *)numberOfBytesserializesetValueunsigned16BitValueunsigned32BitValueunsigned64BitValueunsigned8BitValuewithNumber(const char *, unsigned int)withNumber(unsigned long long, unsigned int)