CFNumberGetByteSize(_:)
Returns the number of bytes used by a CFNumber object to store its value.
Declaration
func CFNumberGetByteSize(_ number: CFNumber!) -> CFIndexParameters
- number:
The CFNumber object to examine.
Return Value
The size in bytes of the value contained in number.
Discussion
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.