subdata(in:)
Returns a new copy of the data in a specified range.
Declaration
func subdata(in range: Range<Data.Index>) -> DataParameters
- range:
The range to copy.
Returns a new copy of the data in a specified range.
func subdata(in range: Range<Data.Index>) -> DataThe range to copy.