Required Instance Methodpureswift.bluetooth 7.2.0Bluetooth

subdata(in:)

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

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

Parameters

range

The range to copy.