Method: UUID.pack

Defined in:
lib/cast_off/compile/namespace/uuid.rb

.pack(tl, tm, th, ch, cl, n) ⇒ Object

The ‘primitive constructor’ of this class Note UUID.pack(uuid.unpack) == uuid



203
204
205
206
# File 'lib/cast_off/compile/namespace/uuid.rb', line 203

def pack tl, tm, th, ch, cl, n
  raw = [tl, tm, th, ch, cl, n].pack "NnnCCa6"
  create raw
end