Carbon


CFNumberGetByteSize

Header: CFNumber.h Carbon status: Supported

Obtains the number of bytes used by the CFNumber object to store its value.

CFIndex CFNumberGetByteSize (
    CFNumberRef number
);
number

The CFNumber object whose internal storage size you wish to obtain.

function result

The size in bytes of the value contained in the specified CFNumber object.0

DISCUSSION

This is the number of bytes that the CFNumber object used to store its value. Because a CFNumber object might store a value using a type different from that of the original value with which it was created, this function may return a size different from the size of the original value's type.

AVAILABILITY

Supported in Carbon. Available in CarbonLib 1.0 and later when CoreFoundationLib 1.0 or later is installed. Exported by CarbonLib 1.0 and later and by CoreFoundationLib 1.0 and later.


© 2000 Apple Computer, Inc. — (Last Updated 3/8/2000)