Function: uuid-to-bytes

uuid-to-bytes is a byte-compiled function defined in uuid.el.gz.

Signature

(uuid-to-bytes ID)

Documentation

Convert the uuid object ID to a 16-byte unibyte string.

View in manual

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/uuid.el.gz
(defun uuid-to-bytes (id)
  "Convert the uuid object ID to a 16-byte unibyte string."
  (bindat-pack uuid--bindat-type
               `((:high . ,(uuid--high id))
                 (:ver-mid . ,(uuid--concat-bits
                               (uuid--ver id) 4
                               (uuid--mid id) 12))
                 (:var-low . ,(uuid--concat-bits
                               (uuid--var id) 2
                               (uuid--low id) 62)))))