C# Class Plugin.BLE.Abstractions.Extensions.GuidExtension

Mostra file Open project: xabre/xamarin-bluetooth-le

Public Methods

Method Description
PartialFromUuid ( this uuid ) : string

Extract the Bluetooth "Assigned Number" from a Uuid

ToHexString ( this bytes ) : string
UuidFromPartial ( this @partial ) : System.Guid

Create a full Guid from the Bluetooth "Assigned Number" (short version)

Method Details

PartialFromUuid() public static method

Extract the Bluetooth "Assigned Number" from a Uuid
public static PartialFromUuid ( this uuid ) : string
uuid this a Guid of the form {00002A37-0000-1000-8000-00805f9b34fb}
return string

ToHexString() public static method

public static ToHexString ( this bytes ) : string
bytes this
return string

UuidFromPartial() public static method

Create a full Guid from the Bluetooth "Assigned Number" (short version)
public static UuidFromPartial ( this @partial ) : System.Guid
@partial this
return System.Guid