setCapacityIncrement
Sets the storage increment of the array.
Declaration
virtual unsigned int setCapacityIncrement(
unsigned increment);Return Value
The original storage increment of the array.
Overview
An OSArray allocates storage for objects in multiples of the capacity increment.
OSData objects created or initialized to use a shared buffer do not make use of this attribute.
See Also
Miscellaneous
appendByteappendBytes(const OSData *)appendBytes(const void *, unsigned int)ensureCapacityfreegetBytesNoCopy()getBytesNoCopy(unsigned int, unsigned int)getCapacitygetCapacityIncrementgetLengthinitWithBytesinitWithBytesNoCopyinitWithCapacityinitWithData(const OSData *)initWithData(const OSData *, unsigned int, unsigned int)isEqualTo(const OSData *)isEqualTo(const OSMetaClassBase *)isEqualTo(const OSString *)isEqualTo(const void *, unsigned int)serializewithByteswithBytesNoCopywithCapacitywithData(const OSData *)withData(const OSData *, unsigned int, unsigned int)