Function: dns-write-bytes

dns-write-bytes is a byte-compiled function defined in dns.el.gz.

Signature

(dns-write-bytes VALUE &optional LENGTH)

Source Code

;; Defined in /usr/src/emacs/lisp/net/dns.el.gz
(defun dns-write-bytes (value &optional length)
  (let (bytes)
    (dotimes (_ (or length 1))
      (push (% value 256) bytes)
      (setq value (/ value 256)))
    (dolist (byte bytes)
      (insert byte))))