Instance Methodpureswift.bluetooth 7.2.0Bluetooth
append(to:)
BluetoothUUID.swift:182func append<Data>(to data: inout Data) where Data : DataContainer
func append<Data>(to data: inout Data) where Data : DataContainer
s9Bluetooth0A4UUIDO6append2toyxz_tAA13DataContainerRzlF
What are these?1CS1X
import Bluetooth
Pure Swift Bluetooth Definitions.
@frozen enum BluetoothUUID
Bluetooth UUID
protocol DataContainer : Hashable, RandomAccessCollection, Sendable where Self.Element == UInt8, Self.Index == Int
Data container type.
init()
Creates a random 128-bit Bluetooth UUID.
init?(_ string: String)
init?<Data>(data: Data) where Data : DataContainer
init?(rawValue: String)
Initialize from a UUID string (in big endian representation).
init(uuid: UUID)
Initialize from a Foundation.UUID
.
var bit128: BluetoothUUID { get }
Forceably convert BluetoothUUID
to UInt128
value.
var byteSwapped: BluetoothUUID { get }
A representation of this Bluetooth UUID with the byte order swapped.
var dataLength: Int { get }
var description: String { get }
var metadata: BluetoothMetadata.BluetoothUUID? { get }
Fetch the metadata for the UUID.
var rawValue: String { get }
static func == (lhs: BluetoothUUID, rhs: BluetoothUUID) -> Bool
enum Characteristic
enum Declaration
enum Descriptor
enum Member
enum Service