Contents

subdata(in:)

Returns a new copy of the data in a specified range.

Declaration

func subdata(in range: Range<Data.Index>) -> Data

Parameters

  • range:

    The range to copy.