Initializer

init(bytes:length:)

Creates a new IOBluetoothSDPUUID object with the given bytes of the given length.

Declaration

convenience init!(bytes: UnsafeRawPointer!, length: UInt32)

Parameters

bytes

An array of bytes representing the UUID.

length

The length of the array of bytes.

Return Value

Returns the new IOBluetoothSDPUUID object or nil on failure.

Discussion

If the length is invalid for a UUID, nil is returned.