timeHighAndVersion property

int get timeHighAndVersion

The high field of the timestamp multiplexed with the version number, i.e. octets 6-7. For v4 UUIDs, the timestamp will be random, but the version bits will be 4 (0b0100).

Note that the full timestamp can be retrieved using time.

Warning: This accessor is not accurate for v6 UUIDs.

Implementation

int get timeHighAndVersion => _byteData.getUint16(6);