Function: bindat-format-vector
bindat-format-vector is a byte-compiled function defined in
bindat.el.gz.
Signature
(bindat-format-vector VECT FMT SEP &optional LEN)
Documentation
Format vector VECT using element format FMT and separator SEP.
Result is a string with each element of VECT formatted using FMT and separated by the string SEP. If optional fourth arg LEN is given, use only that many elements from VECT.
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/bindat.el.gz
;;;; Misc. format conversions
(defun bindat-format-vector (vect fmt sep &optional len)
"Format vector VECT using element format FMT and separator SEP.
Result is a string with each element of VECT formatted using FMT and
separated by the string SEP. If optional fourth arg LEN is given, use
only that many elements from VECT."
(when len (setq vect (substring vect 0 len)))
(mapconcat (lambda (x) (format fmt x)) vect sep))