Required Operatorpureswift.bluetooth 7.2.0Bluetooth
+=(_:_:)
Data.swift:31static func += <C>(lhs: inout Self, rhs: C) where C : Collection, C.Element == UInt8
static func += <C>(lhs: inout Self, rhs: C) where C : Collection, C.Element == UInt8
s9Bluetooth13DataContainerP2peoiyyxz_qd__tSlRd__s5UInt8V7ElementRtd__lFZ
What are these?3VPO1
import Bluetooth
Pure Swift Bluetooth Definitions.
protocol DataContainer : Hashable, RandomAccessCollection, Sendable where Self.Element == UInt8, Self.Index == Int
Data container type.
protocol Collection<Element> : Sequence
A sequence whose elements can be traversed multiple times, nondestructively, and accessed by an indexed subscript.
associatedtype Element where Self.Element == Self.Iterator.Element
A type representing the sequence’s elements.
@frozen struct UInt8
An 8-bit unsigned integer value type.
init()
init<C>(_ collection: C) where C : Collection, C.Element == UInt8
subscript(index: Int) -> UInt8 { get }
static func += (lhs: inout Self, rhs: UInt8)
mutating func append(_ newElement: UInt8)
mutating func append(_ pointer: UnsafePointer<UInt8>, count: Int)
mutating func append<C>(contentsOf bytes: C) where C : Collection, C.Element == UInt8
mutating func reserveCapacity(_ capacity: Int)
func subdata(in range: Range<Index>) -> Self
Return a new copy of the data in a specified range.