Returns a data object containing a copy of the receiver’s bytes that fall within the limits specified by a given range.
Original signature is '- (NSData *)subdataWithRange:(NSRange)range'
Available in Mac OS X v10.0 and later.
Declaration Syntax
Parameters
- range (NSRange)
- The range in the receiver from which to copy bytes. The range must not exceed the bounds of the receiver.
Return Value
A data object containing a copy of the receiver’s bytes that fall within the limits specified by range.
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)