Creates and returns an NSMutableData object containing a given number of zeroed bytes.
Original signature is '+ (id)dataWithLength:(NSUInteger)length'
Available in Mac OS X v10.0 and later.

C# | Visual Basic | Visual C++ |
public static Id DataWithLength( NSUInteger length )
Public Shared Function DataWithLength ( _ length As NSUInteger _ ) As Id
public: static Id^ DataWithLength( NSUInteger length )

- length (NSUInteger)
- The number of bytes the new data object initially contains.

A new NSMutableData object of length bytes, filled with zeros.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)