Creates and returns an NSMutableData object capable of holding the specified number of bytes.
Original signature is '+ (id)dataWithCapacity:(NSUInteger)aNumItems'
Available in Mac OS X v10.0 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static Id DataWithCapacity( NSUInteger aNumItems )
Public Shared Function DataWithCapacity ( _ aNumItems As NSUInteger _ ) As Id
public: static Id^ DataWithCapacity( NSUInteger aNumItems )
Parameters
- aNumItems (NSUInteger)
- The number of bytes the new data object can initially contain.
Return Value
A new NSMutableData object capable of holding aNumItems bytes.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)