withCapacity
Creates and initializes an empty OSSerialize object.
Declaration
static OSSerialize * withCapacity(
unsigned intcapacity);Parameters
- capacity:
The initial size of the XML buffer.
Return Value
A new instance of OSSerialize with a retain count of 1; NULL on failure.
Overview
The serializer will grow as needed to accommodate more data.