Reads data up to a specified number of bytes from the receiver.
Original signature is '- (NSData *)readDataOfLength:(NSUInteger)length'
Available in Mac OS X v10.0 and later.

C# | Visual Basic | Visual C++ |
public virtual NSData ReadDataOfLength( NSUInteger length )
Public Overridable Function ReadDataOfLength ( _ length As NSUInteger _ ) As NSData
public: virtual NSData^ ReadDataOfLength( NSUInteger length )

- length (NSUInteger)
- The number of bytes to read from the receiver.

The data available through the receiver up to a maximum of length bytes.

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