Function: exif--read-chunk
exif--read-chunk is a byte-compiled function defined in exif.el.gz.
Signature
(exif--read-chunk BYTES)
Documentation
Return BYTES octets from the current buffer and advance point that much.
This function assumes that the current buffer is unibyte.
Source Code
;; Defined in /usr/src/emacs/lisp/image/exif.el.gz
(defun exif--read-chunk (bytes)
"Return BYTES octets from the current buffer and advance point that much.
This function assumes that the current buffer is unibyte."
(when (> (+ (point) bytes) (point-max))
(signal 'exif-error "Premature end of file"))
(prog1
(buffer-substring (point) (+ (point) bytes))
(forward-char bytes)))