Constructor Uuid
Uuid(Int32, Int16, Int16, Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte)
Initialises a new Uuid instance with the provided integers and bytes.
Declaration
public Uuid(int data1, short data2, short data3, byte data4_0, byte data4_1, byte data4_2, byte data4_3, byte data4_4, byte data4_5, byte data4_6, byte data4_7)
Parameters
Type | Name | Description |
---|---|---|
Int32 | data1 | The first 4 bytes of the UUID. |
Int16 | data2 | The next 2 bytes of the UUID. |
Int16 | data3 | The next 2 bytes of the UUID. |
Byte | data4_0 | The next byte of the UUID. |
Byte | data4_1 | The next byte of the UUID. |
Byte | data4_2 | The next byte of the UUID. |
Byte | data4_3 | The next byte of the UUID. |
Byte | data4_4 | The next byte of the UUID. |
Byte | data4_5 | The next byte of the UUID. |
Byte | data4_6 | The next byte of the UUID. |
Byte | data4_7 | The next byte of the UUID. |
Uuid(UInt32, UInt16, UInt16, Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte)
Initialises a new Uuid instance with the provided integers and bytes.
Declaration
public Uuid(uint data1, ushort data2, ushort data3, byte data4_0, byte data4_1, byte data4_2, byte data4_3, byte data4_4, byte data4_5, byte data4_6, byte data4_7)
Parameters
Type | Name | Description |
---|---|---|
UInt32 | data1 | The first 4 bytes of the UUID. |
UInt16 | data2 | The next 2 bytes of the UUID. |
UInt16 | data3 | The next 2 bytes of the UUID. |
Byte | data4_0 | The next byte of the UUID. |
Byte | data4_1 | The next byte of the UUID. |
Byte | data4_2 | The next byte of the UUID. |
Byte | data4_3 | The next byte of the UUID. |
Byte | data4_4 | The next byte of the UUID. |
Byte | data4_5 | The next byte of the UUID. |
Byte | data4_6 | The next byte of the UUID. |
Byte | data4_7 | The next byte of the UUID. |
Uuid(Int32, Int16, Int16, Byte[])
Initialises a new Uuid instance with the provided integers and bytes.
Declaration
public Uuid(int data1, short data2, short data3, byte[] data4)
Parameters
Type | Name | Description |
---|---|---|
Int32 | data1 | The first 4 bytes of the UUID. |
Int16 | data2 | The next 2 bytes of the UUID. |
Int16 | data3 | The next 2 bytes of the UUID. |
Byte[] | data4 | The next 8 bytes of the UUID. |
Uuid(UInt32, UInt16, UInt16, Byte[])
Initialises a new Uuid instance with the provided integers and bytes.
Declaration
public Uuid(uint data1, ushort data2, ushort data3, byte[] data4)
Parameters
Type | Name | Description |
---|---|---|
UInt32 | data1 | The first 4 bytes of the UUID. |
UInt16 | data2 | The next 2 bytes of the UUID. |
UInt16 | data3 | The next 2 bytes of the UUID. |
Byte[] | data4 | The next 8 bytes of the UUID. |
Uuid(Byte[])
Initialises a new Uuid instance with the provided bytes. Bytes are expected in
little-endian byte order for drop-in compatibility with Guid(Byte[]).
Declaration
public Uuid(byte[] bytes)
Parameters
Type | Name | Description |
---|---|---|
Byte[] | bytes | The 16 bytes of the UUID. |
Uuid(Byte[], ByteOrder)
Initialises a new Uuid instance with the provided bytes.
Declaration
public Uuid(byte[] bytes, ByteOrder byteOrder)
Parameters
Type | Name | Description |
---|---|---|
Byte[] | bytes | The 16 bytes of the UUID. |
ByteOrder | byteOrder | The byte order of the first three data fields (32-bit, 16-bit and 16-bit, repectively) represented by the first 8 bytes in the provided bytes array. |
Uuid(String)
Initialises a new Uuid instance with the value represented by the provided string.
Declaration
public Uuid(string uuid)
Parameters
Type | Name | Description |
---|---|---|
String | uuid | UUID value representation to initialise new instance with. Supports the same formats as Guid(String) |