Copies a number of bytes from the start of the receiver's data into a given buffer.
Original signature is '- (void)getBytes:(void *)buffer length:(NSUInteger)length'
Available in Mac OS X v10.0 and later.

C# | Visual Basic | Visual C++ |
public virtual void GetBytesLength( IntPtr buffer, NSUInteger length )
Public Overridable Sub GetBytesLength ( _ buffer As IntPtr, _ length As NSUInteger _ )
public: virtual void GetBytesLength( IntPtr buffer, NSUInteger length )

- buffer (IntPtr)
- A buffer into which to copy data.
- length (NSUInteger)
- The number of bytes from the start of the receiver's data to copy to buffer.

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