comparison lisp/emacs-lisp/bindat.el @ 48031:5adaaf91c4d5

Fixed typo in docstring.
author Kim F. Storm <storm@cua.dk>
date Sun, 27 Oct 2002 21:58:18 +0000
parents 17067a24204d
children 0d8b17d428b5
comparison
equal deleted inserted replaced
48030:4086fbc6ad65 48031:5adaaf91c4d5
573 (setq last (bindat-get-field struct field)) 573 (setq last (bindat-get-field struct field))
574 (bindat--pack-item last type len) 574 (bindat--pack-item last type len)
575 )))))) 575 ))))))
576 576
577 (defun bindat-pack (spec struct &optional raw-data pos) 577 (defun bindat-pack (spec struct &optional raw-data pos)
578 "Return binary data packed accoring to SPEC for structured data STRUCT. 578 "Return binary data packed according to SPEC for structured data STRUCT.
579 Optional third arg RAW-DATA is a pre-allocated string or vector to unpack into. 579 Optional third arg RAW-DATA is a pre-allocated string or vector to unpack into.
580 Optional fourth arg POS is the starting offset into RAW-DATA. 580 Optional fourth arg POS is the starting offset into RAW-DATA.
581 Note: The result is a multibyte string; use `string-make-unibyte' on it 581 Note: The result is a multibyte string; use `string-make-unibyte' on it
582 to make it unibyte if necessary." 582 to make it unibyte if necessary."
583 (let ((no-return raw-data)) 583 (let ((no-return raw-data))