Method: LexicalUUID#to_bytes

Defined in:
lib/lexical_uuid.rb

#to_bytesObject



48
49
50
51
52
53
# File 'lib/lexical_uuid.rb', line 48

def to_bytes
  [timestamp >> 32,
    timestamp & 0xffffffff,
    worker_id >> 32,
    worker_id & 0xffffffff].pack("NNNN")
end