;;; @ binary access
;;;
-(defun insert-binary-file-contents-literally
- (filename &optional visit beg end replace)
+(defun insert-binary-file-contents-literally (filename
+ &optional visit beg end replace)
"Like `insert-file-contents-literally', q.v., but don't code conversion.
A buffer may be modified in several ways after reading into the buffer due
to advanced Emacs features, such as file-name-handlers, format decoding,
(insert-file-contents-literally filename visit beg end replace)
))
-(defun insert-binary-file-contents
- (filename &optional visit beg end replace)
+(defun insert-binary-file-contents (filename &optional visit beg end replace)
"Like `insert-file-contents', q.v., but don't code and format conversion."
(let ((emx-binary-mode t))
(insert-file-contents filename visit beg end replace)
))
+(defun write-region-as-binary (start end filename
+ &optional append visit lockname)
+ "Like `write-region', q.v., but don't code conversion."
+ (let ((emx-binary-mode t))
+ (write-region start end filename append visit lockname)
+ ))
;;; @ MIME charset