Contents

init(const char *, unsigned int)

Initializes an instance of OSNumber with an unsigned integer value represented as a C string.

Declaration

virtual bool init( 
 const char *valueString, 
 unsigned intnumberOfBits);

Parameters

  • valueString:

    A C string representing a numeric 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(const char *, unsigned int) instead.

See Also

Miscellaneous