Function: bindat-length

bindat-length is a byte-compiled function defined in bindat.el.gz.

Signature

(bindat-length SPEC STRUCT)

Documentation

Calculate bindat-raw length for STRUCT according to bindat SPEC.

View in manual

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/bindat.el.gz
(defun bindat-length (spec struct)
  "Calculate `bindat-raw' length for STRUCT according to bindat SPEC."
  (let ((bindat-idx 0))
    (bindat--length-group struct spec)
    bindat-idx))