fromBytes
Converts 2, 4 or 16 byte array to a UUID using Little Endian byte order.
Example:
0x0918->00001809-0000-1000-8000-00805F9B34FB0x78563412->12345678-0000-1000-8000-00805F9B34FB0x58B29CC8812877B8E7490C1300783814->14383800-30C1-49E7-B877-1281C89CB258
Return
The UUID.
Parameters
The UUID as a byte array. The byte array must have the exact size.
Throws
if the byte array is too short or too long.
Converts 2, 4 or 16 byte array to a UUID using Little Endian byte order.
Example:
0x0918->00001809-0000-1000-8000-00805F9B34FB0x78563412->12345678-0000-1000-8000-00805F9B34FB0x58B29CC8812877B8E7490C1300783814->14383800-30C1-49E7-B877-1281C89CB258
Return
The UUID.
Parameters
The UUID as a byte array. The byte array must have the exact size.
The offset in the byte array.
The number of bytes to read.
Throws
if the byte array is too short or too long.