%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/emacs-lisp/ |
Current File : //usr/local/share/emacs/27.2/lisp/emacs-lisp/bindat.elc |
;ELC ;;; Compiled ;;; in Emacs version 27.2 ;;; with all optimizations. ;;; This file uses dynamic docstrings, first added in Emacs 19.29. ;;; This file does not contain utf-8 non-ASCII characters, ;;; and so can be loaded in Emacs versions earlier than 23. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (defalias 'bindat--unpack-u8 #[nil " H T\207" [bindat-raw bindat-idx] 2]) (defalias 'bindat--unpack-u16 #[nil "\300\301\302 \303\"\302 \"\207" [logior ash bindat--unpack-u8 8] 4]) (defalias 'bindat--unpack-u24 #[nil "\300\301\302 \303\"\304 \"\207" [logior ash bindat--unpack-u16 8 bindat--unpack-u8] 4]) (defalias 'bindat--unpack-u32 #[nil "\300\301\302 \303\"\302 \"\207" [logior ash bindat--unpack-u16 16] 4]) (defalias 'bindat--unpack-u16r #[nil "\300\301 \302\301 \303\"\"\207" [logior bindat--unpack-u8 ash 8] 5]) (defalias 'bindat--unpack-u24r #[nil "\300\301 \302\303 \304\"\"\207" [logior bindat--unpack-u16r ash bindat--unpack-u8 16] 5]) (defalias 'bindat--unpack-u32r #[nil "\300\301 \302\301 \303\"\"\207" [logior bindat--unpack-u16r ash 16] 5]) (defalias 'bindat--unpack-item #[(type len &optional vectype) "\306=\203\n \307\310\311\267\202#\312 \207\313 \207\314 \207\315 \207\316 \207\317 \207\320 \207\321\322 _S\321\211\f\323Y\203k \312 \211\323U\203G \f\322Z\211\2021 \324\211\323V\2030 \325\n\"\323U\204\\ \f B\fS\326\327\"\211\202J \2020 ,\207\330 !\211 \\#\"! \\!\";\203\212 \"\202\217 \331\332\"\")\207\323\321\"\211# W\203\263 !#\\H\323U\204\263 #T\211#\202\230 \330 !\211#\\#\"! \\!\";\203\320 \"\202\325 \331\332\"\"*\207\333 \323\"\323\334$#%&:\203\370 &A@$\335&8&\202&\206\376 \336\321&# W\203%#\337$&#I\210#T\211#\202%+\207\321\207" [type len m j bnum bits ip vec 4 #s(hash-table size 16 test eq rehash-size 1.5 rehash-threshold 0.8125 purecopy t data (u8 16 byte 16 u16 19 word 19 short 19 u24 22 u32 25 dword 25 long 25 u16r 28 u24r 31 u32r 34 bits 37 str 110 strz 145 vec 215)) bindat--unpack-u8 bindat--unpack-u16 bindat--unpack-u24 bindat--unpack-u32 bindat--unpack-u16r bindat--unpack-u24r bindat--unpack-u32r nil 8 0 128 logand ash -1 substring apply unibyte-string make-vector 1 2 u8 bindat--unpack-item bindat-raw bindat-idx s i vlen v vectype] 7]) (defalias 'bindat--unpack-group #[(spec) "\306\211\n\203\205\n@\211@A@\3078 \310=\205 \3118\311\306\nA\f:\203= \f@\312=\203= \312\fA@! \203S :\203S @\312=\203S \312 A@!\203n :\203n @\312=\203n \312A@!\f\313>\203~ \307 \f\306:\203\222 \312=\204\222 \314\315 #\204\232 \316 \317\267\202\\\f\203\255 \312!\202g\312!\210\202g\\\202g\246\320U\204gT\211\202\301 \202g\321\312!!\202g\320\211W\203\321\233!BT\211\202\350 \237*\202g\233\306\211\203X@A@\211\232\204J\322=\204J:\203\312!\203\321A!\306\211\204 ,\202g\323 #\211\203\200\f\203z\fB B\202\200\324 \".\202 *\207" [last struct spec item field type nil 2 vec 3 eval (eval fill align struct union) apply bindat-get-field 1 #s(hash-table size 6 test eq rehash-size 1.5 rehash-threshold 0.8125 purecopy t data (eval 160 fill 181 align 191 struct 213 repeat 224 union 267)) 0 bindat--unpack-group t bindat--unpack-item append len vectype tail data bindat-idx count index cc case cases tag] 5]) #@190 Return structured data according to SPEC for binary data in BINDAT-RAW. BINDAT-RAW is a unibyte string or vector. Optional third arg BINDAT-IDX specifies the starting offset in BINDAT-RAW. (defalias 'bindat-unpack #[(spec bindat-raw &optional bindat-idx) "\303!\203\n \304\305!\210 \204 \306\307\n!\207" [bindat-raw bindat-idx spec multibyte-string-p error "String is multibyte" 0 bindat--unpack-group] 2 (#$ . 3482)]) #@352 In structured data STRUCT, return value of field named FIELD. If multiple field names are specified, use the field names to lookup nested sub-structures in STRUCT, corresponding to the C-language syntax STRUCT.FIELD1.FIELD2.FIELD3... An integer value in the field list is taken as an array index, e.g. corresponding to STRUCT.FIELD1[INDEX2].FIELD3... (defalias 'bindat-get-field #[(struct &rest field) "\203) \203) @\250\203 @8\202\"