def variant
      variant_raw = (clock_seq_hi_and_reserved >> 5)
      result = nil
      if (variant_raw >> 2) == 0
        result = 0x000
      elsif (variant_raw >> 1) == 2
        result = 0x100
      else
        result = variant_raw
      end
      return (result >> 6)
    end
def variant
      variant_raw = (clock_seq_hi_and_reserved >> 5)
      result = nil
      if (variant_raw >> 2) == 0
        result = 0x000
      elsif (variant_raw >> 1) == 2
        result = 0x100
      else
        result = variant_raw
      end
      return (result >> 6)
    end
Returns the UUID variant.
 Possible values:
 0b000 - Reserved, NCS backward compatibility.
 0b100 - The variant specified in this document.
 0b110 - Reserved, Microsoft Corporation backward compatibility.
 0b111 - Reserved for future definition.