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