Modifier

Partager via


CBUUID.FromBytes(Byte[]) Method

Definition

Creates a new CBUIID from the specified array of bytes.

public static CoreBluetooth.CBUUID FromBytes (byte[] bytes);
static member FromBytes : byte[] -> CoreBluetooth.CBUUID

Parameters

bytes
Byte[]

Array of 2, 4 or 16 bytes containing the universal unique identifier.

Returns

New instance; Throws an exception if the bytes array is null or is not 2, 4 or 16 bytes.

Remarks

Creates a CBUUID from the specified array of bytes.

Applies to