ClockSequence returns the clock sequence encoded in uuid. The clock sequence is only well defined for version 1 and 2 UUIDs.
()
| 137 | // ClockSequence returns the clock sequence encoded in uuid. |
| 138 | // The clock sequence is only well defined for version 1 and 2 UUIDs. |
| 139 | func (uuid UUID) ClockSequence() int { |
| 140 | return int(binary.BigEndian.Uint16(uuid[8:10])) & 0x3fff |
| 141 | } |
no outgoing calls