0

Given a byte-compiled function:

(byte-compile (defun factorial (integer)
                "Compute factorial of an integer."
                (if (= 1 integer) 1
                  (* integer (factorial (1- integer))))))
=> #[(integer)
     "\301U\203\0\301\207\302S!_\207"
     [integer 1 factorial]
     3 "Compute factorial of an integer."]

Is there a way to change the unibyte string bytecode to hex (or decimal (any any other which-way to make it more readable))?

John DeBord
  • 550
  • 3
  • 13
  • Does the `disassemble` command count? See [`(info "(elisp) Disassembly")`](https://www.gnu.org/software/emacs/manual/html_node/elisp/Disassembly.html). – Basil Mar 17 '21 at 17:56
  • I already utilize that. What I want to see is the string in hex. – John DeBord Mar 17 '21 at 20:09

0 Answers0