Contents

init(unsigned long long, unsigned int)

Initializes an instance of OSNumber with an integer value.

Declaration

virtual bool init( 
 unsigned long longvalue, 
 unsigned intnumberOfBits);

Parameters

  • value:

    The numeric integer value for the OSNumber to store.

  • numberOfBits:

    The number of bits to limit storage to.

Return Value

true if initialization succeeds, false on failure.

Overview

Not for general use. Use the static instance creation method withNumber(unsigned long long, unsigned int) instead.

See Also

Miscellaneous