home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: SHell self-extracting ARchive
(archive/shar).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Newsgroup Content (archive/news)
| magic
| Supported |
100%
| dexvert
| SHell self-extracting ARchive (archive/shar)
| magic
| Supported |
100%
| dexvert
| Internet Message Format (text/imf)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| news or mail, ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/329 Shell Archive Format
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| message/rfc822
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 53 75 62 6a 65 63 74 3a | 20 20 76 31 33 69 30 39 |Subject:| v13i09|
|00000010| 31 3a 20 20 53 75 6e 20 | 52 50 43 2c 20 72 65 6c |1: Sun |RPC, rel|
|00000020| 65 61 73 65 20 33 2e 39 | 2c 20 50 61 72 74 31 34 |ease 3.9|, Part14|
|00000030| 2f 31 35 0a 4e 65 77 73 | 67 72 6f 75 70 73 3a 20 |/15.News|groups: |
|00000040| 63 6f 6d 70 2e 73 6f 75 | 72 63 65 73 2e 75 6e 69 |comp.sou|rces.uni|
|00000050| 78 0a 53 65 6e 64 65 72 | 3a 20 73 6f 75 72 63 65 |x.Sender|: source|
|00000060| 73 0a 41 70 70 72 6f 76 | 65 64 3a 20 72 73 61 6c |s.Approv|ed: rsal|
|00000070| 7a 40 75 75 6e 65 74 2e | 55 55 2e 4e 45 54 0a 0a |z@uunet.|UU.NET..|
|00000080| 53 75 62 6d 69 74 74 65 | 64 2d 62 79 3a 20 53 74 |Submitte|d-by: St|
|00000090| 65 70 68 65 6e 20 58 2e | 20 4e 61 68 6d 20 3c 73 |ephen X.| Nahm <s|
|000000a0| 78 6e 40 53 75 6e 2e 43 | 4f 4d 3e 0a 50 6f 73 74 |xn@Sun.C|OM>.Post|
|000000b0| 69 6e 67 2d 6e 75 6d 62 | 65 72 3a 20 56 6f 6c 75 |ing-numb|er: Volu|
|000000c0| 6d 65 20 31 33 2c 20 49 | 73 73 75 65 20 39 31 0a |me 13, I|ssue 91.|
|000000d0| 41 72 63 68 69 76 65 2d | 6e 61 6d 65 3a 20 72 70 |Archive-|name: rp|
|000000e0| 63 33 2e 39 2f 70 61 72 | 74 31 34 0a 0a 23 21 20 |c3.9/par|t14..#! |
|000000f0| 2f 62 69 6e 2f 73 68 0a | 23 20 54 68 69 73 20 69 |/bin/sh.|# This i|
|00000100| 73 20 61 20 73 68 65 6c | 6c 20 61 72 63 68 69 76 |s a shel|l archiv|
|00000110| 65 2e 20 54 6f 20 65 78 | 74 72 61 63 74 2c 20 72 |e. To ex|tract, r|
|00000120| 65 6d 6f 76 65 20 74 68 | 65 20 68 65 61 64 65 72 |emove th|e header|
|00000130| 20 61 6e 64 20 74 79 70 | 65 20 22 73 68 20 66 69 | and typ|e "sh fi|
|00000140| 6c 65 6e 61 6d 65 22 0a | 23 0a 63 64 20 64 6f 63 |lename".|#.cd doc|
|00000150| 0a 65 63 68 6f 20 78 20 | 2d 20 4d 61 6b 65 66 69 |.echo x |- Makefi|
|00000160| 6c 65 0a 63 61 74 20 3e | 20 4d 61 6b 65 66 69 6c |le.cat >| Makefil|
|00000170| 65 20 3c 3c 27 46 75 6e | 6b 79 5f 53 74 75 66 66 |e <<'Fun|ky_Stuff|
|00000180| 27 0a 23 0a 23 20 40 28 | 23 29 4d 61 6b 65 66 69 |'.#.# @(|#)Makefi|
|00000190| 6c 65 09 31 2e 34 20 38 | 37 2f 31 31 2f 31 38 20 |le.1.4 8|7/11/18 |
|000001a0| 33 2e 39 20 52 50 43 53 | 52 43 0a 23 0a 23 0a 23 |3.9 RPCS|RC.#.#.#|
|000001b0| 20 20 20 54 68 65 20 74 | 61 72 67 65 74 73 20 61 | The t|argets a|
|000001c0| 6c 6c 2e 6e 72 6f 66 66 | 20 61 6e 64 20 61 6c 6c |ll.nroff| and all|
|000001d0| 2e 74 72 6f 66 66 20 77 | 69 6c 6c 20 6d 61 6b 65 |.troff w|ill make|
|000001e0| 20 6d 6f 6e 6f 6c 69 74 | 68 69 63 20 64 6f 63 75 | monolit|hic docu|
|000001f0| 6d 65 6e 74 73 0a 23 20 | 20 20 77 69 74 68 20 6e |ments.# | with n|
|00000200| 72 6f 66 66 20 61 6e 64 | 20 74 72 6f 66 66 2c 20 |roff and| troff, |
|00000210| 72 65 73 70 65 63 74 69 | 76 65 6c 79 2e 20 20 54 |respecti|vely. T|
|00000220| 68 65 20 6f 74 68 65 72 | 20 2a 2e 6e 72 6f 66 66 |he other| *.nroff|
|00000230| 20 61 6e 64 20 2a 2e 74 | 72 6f 66 66 0a 23 20 20 | and *.t|roff.# |
|00000240| 20 74 61 72 67 65 74 73 | 20 77 69 6c 6c 20 6d 61 | targets| will ma|
|00000250| 6b 65 20 69 6e 64 69 76 | 69 64 75 61 6c 20 64 6f |ke indiv|idual do|
|00000260| 63 75 6d 65 6e 74 73 0a | 23 0a 54 52 4f 46 46 3d |cuments.|#.TROFF=|
|00000270| 09 64 69 74 72 6f 66 66 | 0a 54 4f 50 54 53 3d 20 |.ditroff|.TOPTS= |
|00000280| 20 2d 74 0a 4e 52 4f 46 | 46 3d 09 6e 72 6f 66 66 | -t.NROF|F=.nroff|
|00000290| 0a 4e 4f 50 54 53 3d 0a | 50 49 43 3d 09 70 69 63 |.NOPTS=.|PIC=.pic|
|000002a0| 0a 54 42 4c 3d 09 74 62 | 6c 0a 45 51 4e 3d 09 65 |.TBL=.tb|l.EQN=.e|
|000002b0| 71 6e 0a 0a 53 52 43 3d | 09 20 72 70 63 2e 70 72 |qn..SRC=|. rpc.pr|
|000002c0| 6f 67 2e 6d 73 20 72 70 | 63 67 65 6e 2e 6d 73 20 |og.ms rp|cgen.ms |
|000002d0| 78 64 72 2e 6e 74 73 2e | 6d 73 20 78 64 72 2e 72 |xdr.nts.|ms xdr.r|
|000002e0| 66 63 2e 6d 73 20 72 70 | 63 2e 72 66 63 2e 6d 73 |fc.ms rp|c.rfc.ms|
|000002f0| 20 6e 66 73 2e 72 66 63 | 2e 6d 73 0a 0a 61 6c 6c | nfs.rfc|.ms..all|
|00000300| 20 64 65 66 61 75 6c 74 | 3a 20 61 6c 6c 2e 6e 72 | default|: all.nr|
|00000310| 6f 66 66 0a 0a 69 6e 73 | 74 61 6c 6c 3a 09 61 6c |off..ins|tall:.al|
|00000320| 6c 2e 6e 72 6f 66 66 0a | 09 40 65 63 68 6f 20 22 |l.nroff.|.@echo "|
|00000330| 4e 6f 74 68 69 6e 67 20 | 69 6e 73 74 61 6c 6c 65 |Nothing |installe|
|00000340| 64 2e 22 0a 0a 61 6c 6c | 2e 6e 72 6f 66 66 3a 09 |d."..all|.nroff:.|
|00000350| 24 7b 53 52 43 7d 0a 09 | 24 7b 54 42 4c 7d 20 24 |${SRC}..|${TBL} $|
|00000360| 7b 53 52 43 7d 20 7c 20 | 24 7b 45 51 4e 7d 20 7c |{SRC} | |${EQN} ||
|00000370| 20 24 7b 4e 52 4f 46 46 | 7d 20 24 7b 4e 4f 50 54 | ${NROFF|} ${NOPT|
|00000380| 53 7d 20 2d 6d 73 20 3e | 61 6c 6c 2e 6e 72 6f 66 |S} -ms >|all.nrof|
|00000390| 66 0a 0a 61 6c 6c 2e 74 | 72 6f 66 66 3a 09 24 7b |f..all.t|roff:.${|
|000003a0| 53 52 43 7d 0a 09 24 7b | 54 42 4c 7d 20 24 7b 53 |SRC}..${|TBL} ${S|
|000003b0| 52 43 7d 20 7c 20 24 7b | 50 49 43 7d 20 7c 20 24 |RC} | ${|PIC} | $|
|000003c0| 7b 45 51 4e 7d 20 7c 20 | 24 7b 54 52 4f 46 46 7d |{EQN} | |${TROFF}|
|000003d0| 20 24 7b 54 4f 50 54 53 | 7d 20 2d 6d 73 20 3e 61 | ${TOPTS|} -ms >a|
|000003e0| 6c 6c 2e 74 72 6f 66 66 | 0a 0a 23 0a 0a 72 70 63 |ll.troff|..#..rpc|
|000003f0| 2e 70 72 6f 67 2e 6e 72 | 6f 66 66 3a 20 72 70 63 |.prog.nr|off: rpc|
|00000400| 2e 70 72 6f 67 2e 6d 73 | 0a 09 24 7b 54 42 4c 7d |.prog.ms|..${TBL}|
|00000410| 20 72 70 63 2e 70 72 6f | 67 2e 6d 73 20 7c 20 24 | rpc.pro|g.ms | $|
|00000420| 7b 4e 52 4f 46 46 7d 20 | 24 7b 4e 4f 50 54 53 7d |{NROFF} |${NOPTS}|
|00000430| 20 2d 6d 73 20 3e 72 70 | 63 2e 70 72 6f 67 2e 6e | -ms >rp|c.prog.n|
|00000440| 72 6f 66 66 0a 0a 72 70 | 63 2e 70 72 6f 67 2e 74 |roff..rp|c.prog.t|
|00000450| 72 6f 66 66 3a 09 72 70 | 63 2e 70 72 6f 67 2e 6d |roff:.rp|c.prog.m|
|00000460| 73 0a 09 24 7b 54 42 4c | 7d 20 72 70 63 2e 70 72 |s..${TBL|} rpc.pr|
|00000470| 6f 67 2e 6d 73 20 7c 20 | 24 7b 50 49 43 7d 20 7c |og.ms | |${PIC} ||
|00000480| 20 24 7b 54 52 4f 46 46 | 7d 20 24 7b 54 4f 50 54 | ${TROFF|} ${TOPT|
|00000490| 53 7d 20 2d 6d 73 20 3e | 72 70 63 2e 70 72 6f 67 |S} -ms >|rpc.prog|
|000004a0| 2e 74 72 6f 66 66 0a 0a | 23 0a 0a 72 70 63 67 65 |.troff..|#..rpcge|
|000004b0| 6e 2e 74 72 6f 66 66 3a | 09 72 70 63 67 65 6e 2e |n.troff:|.rpcgen.|
|000004c0| 6d 73 0a 09 24 7b 54 42 | 4c 7d 20 72 70 63 67 65 |ms..${TB|L} rpcge|
|000004d0| 6e 2e 6d 73 20 7c 20 24 | 7b 54 52 4f 46 46 7d 20 |n.ms | $|{TROFF} |
|000004e0| 24 7b 54 4f 50 54 53 7d | 20 2d 6d 73 20 3e 72 70 |${TOPTS}| -ms >rp|
|000004f0| 63 67 65 6e 2e 74 72 6f | 66 66 0a 0a 72 70 63 67 |cgen.tro|ff..rpcg|
|00000500| 65 6e 2e 6e 72 6f 66 66 | 3a 09 72 70 63 67 65 6e |en.nroff|:.rpcgen|
|00000510| 2e 6d 73 0a 09 24 7b 54 | 42 4c 7d 20 72 70 63 67 |.ms..${T|BL} rpcg|
|00000520| 65 6e 2e 6d 73 20 7c 20 | 24 7b 4e 52 4f 46 46 7d |en.ms | |${NROFF}|
|00000530| 20 24 7b 4e 4f 50 54 53 | 7d 20 2d 6d 73 20 3e 72 | ${NOPTS|} -ms >r|
|00000540| 70 63 67 65 6e 2e 6e 72 | 6f 66 66 0a 0a 23 0a 0a |pcgen.nr|off..#..|
|00000550| 78 64 72 2e 6e 74 73 2e | 74 72 6f 66 66 3a 20 78 |xdr.nts.|troff: x|
|00000560| 64 72 2e 6e 74 73 2e 6d | 73 0a 09 24 7b 54 42 4c |dr.nts.m|s..${TBL|
|00000570| 7d 20 78 64 72 2e 6e 74 | 73 2e 6d 73 20 7c 20 24 |} xdr.nt|s.ms | $|
|00000580| 7b 45 51 4e 7d 20 7c 20 | 24 7b 54 52 4f 46 46 7d |{EQN} | |${TROFF}|
|00000590| 20 24 7b 54 4f 50 54 53 | 7d 20 2d 6d 73 20 3e 78 | ${TOPTS|} -ms >x|
|000005a0| 64 72 2e 6e 74 73 2e 74 | 72 6f 66 66 0a 0a 78 64 |dr.nts.t|roff..xd|
|000005b0| 72 2e 6e 74 73 2e 6e 72 | 6f 66 66 3a 20 78 64 72 |r.nts.nr|off: xdr|
|000005c0| 2e 6e 74 73 2e 6d 73 0a | 09 24 7b 54 42 4c 7d 20 |.nts.ms.|.${TBL} |
|000005d0| 78 64 72 2e 6e 74 73 2e | 6d 73 20 7c 20 24 7b 45 |xdr.nts.|ms | ${E|
|000005e0| 51 4e 7d 20 7c 20 24 7b | 4e 52 4f 46 46 7d 20 24 |QN} | ${|NROFF} $|
|000005f0| 7b 4e 4f 50 54 53 7d 20 | 2d 6d 73 20 3e 78 64 72 |{NOPTS} |-ms >xdr|
|00000600| 2e 6e 74 73 2e 6e 72 6f | 66 66 0a 0a 23 0a 0a 78 |.nts.nro|ff..#..x|
|00000610| 64 72 2e 72 66 63 2e 74 | 72 6f 66 66 3a 20 78 64 |dr.rfc.t|roff: xd|
|00000620| 72 2e 72 66 63 2e 6d 73 | 0a 09 24 7b 54 42 4c 7d |r.rfc.ms|..${TBL}|
|00000630| 20 78 64 72 2e 72 66 63 | 2e 6d 73 20 7c 20 24 7b | xdr.rfc|.ms | ${|
|00000640| 54 52 4f 46 46 7d 20 24 | 7b 54 4f 50 54 53 7d 20 |TROFF} $|{TOPTS} |
|00000650| 2d 6d 73 20 3e 78 64 72 | 2e 72 66 63 2e 74 72 6f |-ms >xdr|.rfc.tro|
|00000660| 66 66 0a 0a 78 64 72 2e | 72 66 63 2e 6e 72 6f 66 |ff..xdr.|rfc.nrof|
|00000670| 66 3a 20 78 64 72 2e 72 | 66 63 2e 6d 73 0a 09 24 |f: xdr.r|fc.ms..$|
|00000680| 7b 54 42 4c 7d 20 78 64 | 72 2e 72 66 63 2e 6d 73 |{TBL} xd|r.rfc.ms|
|00000690| 20 7c 20 24 7b 4e 52 4f | 46 46 7d 20 24 7b 4e 4f | | ${NRO|FF} ${NO|
|000006a0| 50 54 53 7d 20 2d 6d 73 | 20 3e 78 64 72 2e 72 66 |PTS} -ms| >xdr.rf|
|000006b0| 63 2e 6e 72 6f 66 66 0a | 0a 23 0a 0a 72 70 63 2e |c.nroff.|.#..rpc.|
|000006c0| 72 66 63 2e 74 72 6f 66 | 66 3a 20 72 70 63 2e 72 |rfc.trof|f: rpc.r|
|000006d0| 66 63 2e 6d 73 0a 09 24 | 7b 54 42 4c 7d 20 72 70 |fc.ms..$|{TBL} rp|
|000006e0| 63 2e 72 66 63 2e 6d 73 | 20 7c 20 24 7b 54 52 4f |c.rfc.ms| | ${TRO|
|000006f0| 46 46 7d 20 24 7b 54 4f | 50 54 53 7d 20 2d 6d 73 |FF} ${TO|PTS} -ms|
|00000700| 20 3e 72 70 63 2e 72 66 | 63 2e 74 72 6f 66 66 0a | >rpc.rf|c.troff.|
|00000710| 0a 72 70 63 2e 72 66 63 | 2e 6e 72 6f 66 66 3a 20 |.rpc.rfc|.nroff: |
|00000720| 72 70 63 2e 72 66 63 2e | 6d 73 0a 09 24 7b 54 42 |rpc.rfc.|ms..${TB|
|00000730| 4c 7d 20 72 70 63 2e 72 | 66 63 2e 6d 73 20 7c 20 |L} rpc.r|fc.ms | |
|00000740| 24 7b 4e 52 4f 46 46 7d | 20 24 7b 4e 4f 50 54 53 |${NROFF}| ${NOPTS|
|00000750| 7d 20 2d 6d 73 20 3e 72 | 70 63 2e 72 66 63 2e 6e |} -ms >r|pc.rfc.n|
|00000760| 72 6f 66 66 0a 0a 23 0a | 0a 6e 66 73 2e 72 66 63 |roff..#.|.nfs.rfc|
|00000770| 2e 74 72 6f 66 66 3a 20 | 6e 66 73 2e 72 66 63 2e |.troff: |nfs.rfc.|
|00000780| 6d 73 0a 09 24 7b 54 42 | 4c 7d 20 6e 66 73 2e 72 |ms..${TB|L} nfs.r|
|00000790| 66 63 2e 6d 73 20 7c 20 | 24 7b 54 52 4f 46 46 7d |fc.ms | |${TROFF}|
|000007a0| 20 24 7b 54 4f 50 54 53 | 7d 20 2d 6d 73 20 3e 6e | ${TOPTS|} -ms >n|
|000007b0| 66 73 2e 72 66 63 2e 74 | 72 6f 66 66 0a 0a 6e 66 |fs.rfc.t|roff..nf|
|000007c0| 73 2e 72 66 63 2e 6e 72 | 6f 66 66 3a 20 6e 66 73 |s.rfc.nr|off: nfs|
|000007d0| 2e 72 66 63 2e 6d 73 0a | 09 24 7b 54 42 4c 7d 20 |.rfc.ms.|.${TBL} |
|000007e0| 6e 66 73 2e 72 66 63 2e | 6d 73 20 7c 20 24 7b 4e |nfs.rfc.|ms | ${N|
|000007f0| 52 4f 46 46 7d 20 24 7b | 4e 4f 50 54 53 7d 20 2d |ROFF} ${|NOPTS} -|
|00000800| 6d 73 20 3e 6e 66 73 2e | 72 66 63 2e 6e 72 6f 66 |ms >nfs.|rfc.nrof|
|00000810| 66 0a 0a 63 6c 65 61 6e | 3a 0a 09 72 6d 20 2d 66 |f..clean|:..rm -f|
|00000820| 20 2a 2e 6e 72 6f 66 66 | 20 2a 2e 74 72 6f 66 66 | *.nroff| *.troff|
|00000830| 0a 0a 73 70 65 6c 6c 3a | 09 24 7b 53 52 43 7d 0a |..spell:|.${SRC}.|
|00000840| 09 40 66 6f 72 20 69 20 | 69 6e 20 24 7b 53 52 43 |.@for i |in ${SRC|
|00000850| 7d 3b 20 64 6f 20 5c 0a | 09 09 65 63 68 6f 20 24 |}; do \.|..echo $|
|00000860| 24 69 3b 20 73 70 65 6c | 6c 20 24 24 69 20 7c 20 |$i; spel|l $$i | |
|00000870| 73 6f 72 74 20 7c 20 63 | 6f 6d 6d 20 2d 32 33 20 |sort | c|omm -23 |
|00000880| 2d 20 73 70 65 6c 6c 2e | 6f 6b 20 3e 20 24 24 69 |- spell.|ok > $$i|
|00000890| 2e 73 70 65 6c 6c 3b 20 | 5c 0a 09 64 6f 6e 65 0a |.spell; |\..done.|
|000008a0| 46 75 6e 6b 79 5f 53 74 | 75 66 66 0a 6c 65 6e 3d |Funky_St|uff.len=|
|000008b0| 60 77 63 20 2d 63 20 3c | 20 4d 61 6b 65 66 69 6c |`wc -c <| Makefil|
|000008c0| 65 60 0a 69 66 20 5b 20 | 24 6c 65 6e 20 21 3d 20 |e`.if [ |$len != |
|000008d0| 20 20 20 20 31 38 32 32 | 20 5d 20 3b 20 74 68 65 | 1822| ] ; the|
|000008e0| 6e 0a 20 20 65 63 68 6f | 20 65 72 72 6f 72 3a 20 |n. echo| error: |
|000008f0| 4d 61 6b 65 66 69 6c 65 | 20 77 61 73 20 24 6c 65 |Makefile| was $le|
|00000900| 6e 20 62 79 74 65 73 20 | 6c 6f 6e 67 2c 20 73 68 |n bytes |long, sh|
|00000910| 6f 75 6c 64 20 68 61 76 | 65 20 62 65 65 6e 20 20 |ould hav|e been |
|00000920| 20 20 20 31 38 32 32 0a | 66 69 0a 65 63 68 6f 20 | 1822.|fi.echo |
|00000930| 78 20 2d 20 78 64 72 2e | 72 66 63 2e 6d 73 0a 73 |x - xdr.|rfc.ms.s|
|00000940| 65 64 20 2d 65 20 27 73 | 2f 5e 58 2f 2f 27 20 3e |ed -e 's|/^X//' >|
|00000950| 20 78 64 72 2e 72 66 63 | 2e 6d 73 20 3c 3c 27 46 | xdr.rfc|.ms <<'F|
|00000960| 75 6e 6b 79 5f 53 74 75 | 66 66 27 0a 58 2e 5c 22 |unky_Stu|ff'.X.\"|
|00000970| 20 40 28 23 29 78 64 72 | 2e 72 66 63 2e 6d 73 09 | @(#)xdr|.rfc.ms.|
|00000980| 31 2e 32 20 38 37 2f 31 | 31 2f 30 39 20 33 2e 39 |1.2 87/1|1/09 3.9|
|00000990| 20 52 50 43 53 52 43 0a | 58 2e 64 65 20 42 54 0a | RPCSRC.|X.de BT.|
|000009a0| 58 2e 69 66 20 5c 5c 6e | 25 3d 31 20 2e 74 6c 20 |X.if \\n|%=1 .tl |
|000009b0| 27 27 2d 20 25 20 2d 27 | 27 0a 58 2e 2e 0a 58 2e |''- % -'|'.X...X.|
|000009c0| 4e 44 0a 58 2e 5c 22 20 | 70 72 65 76 65 6e 74 20 |ND.X.\" |prevent |
|000009d0| 65 78 63 65 73 73 20 75 | 6e 64 65 72 6c 69 6e 69 |excess u|nderlini|
|000009e0| 6e 67 20 69 6e 20 6e 72 | 6f 66 66 0a 58 2e 69 66 |ng in nr|off.X.if|
|000009f0| 20 6e 20 2e 66 70 20 32 | 20 52 0a 58 2e 4f 48 20 | n .fp 2| R.X.OH |
|00000a00| 27 65 58 74 65 72 6e 61 | 6c 20 44 61 74 61 20 52 |'eXterna|l Data R|
|00000a10| 65 70 72 65 73 65 6e 74 | 61 74 69 6f 6e 20 53 74 |epresent|ation St|
|00000a20| 61 6e 64 61 72 64 27 27 | 50 61 67 65 20 25 27 0a |andard''|Page %'.|
|00000a30| 58 2e 45 48 20 27 50 61 | 67 65 20 25 27 27 65 58 |X.EH 'Pa|ge %''eX|
|00000a40| 74 65 72 6e 61 6c 20 44 | 61 74 61 20 52 65 70 72 |ternal D|ata Repr|
|00000a50| 65 73 65 6e 74 61 74 69 | 6f 6e 20 53 74 61 6e 64 |esentati|on Stand|
|00000a60| 61 72 64 27 0a 58 2e 69 | 66 20 5c 5c 6e 25 3d 31 |ard'.X.i|f \\n%=1|
|00000a70| 20 2e 62 70 0a 58 2e 53 | 48 0a 5c 26 65 58 74 65 | .bp.X.S|H.\&eXte|
|00000a80| 72 6e 61 6c 20 44 61 74 | 61 20 52 65 70 72 65 73 |rnal Dat|a Repres|
|00000a90| 65 6e 74 61 74 69 6f 6e | 20 53 74 61 6e 64 61 72 |entation| Standar|
|00000aa0| 64 3a 20 50 72 6f 74 6f | 63 6f 6c 20 53 70 65 63 |d: Proto|col Spec|
|00000ab0| 69 66 69 63 61 74 69 6f | 6e 0a 58 2e 49 58 20 58 |ificatio|n.X.IX X|
|00000ac0| 44 52 20 52 46 43 0a 58 | 2e 49 58 20 58 44 52 20 |DR RFC.X|.IX XDR |
|00000ad0| 22 70 72 6f 74 6f 63 6f | 6c 20 73 70 65 63 69 66 |"protoco|l specif|
|00000ae0| 69 63 61 74 69 6f 6e 22 | 0a 58 2e 4c 50 0a 58 2e |ication"|.X.LP.X.|
|00000af0| 4e 48 20 30 0a 5c 26 53 | 74 61 74 75 73 20 6f 66 |NH 0.\&S|tatus of|
|00000b00| 20 74 68 69 73 20 53 74 | 61 6e 64 61 72 64 0a 58 | this St|andard.X|
|00000b10| 2e 6e 72 20 4f 46 20 31 | 0a 58 2e 49 58 20 58 44 |.nr OF 1|.X.IX XD|
|00000b20| 52 20 22 52 46 43 20 73 | 74 61 74 75 73 22 0a 58 |R "RFC s|tatus".X|
|00000b30| 2e 4c 50 0a 4e 6f 74 65 | 3a 20 54 68 69 73 20 63 |.LP.Note|: This c|
|00000b40| 68 61 70 74 65 72 20 73 | 70 65 63 69 66 69 65 73 |hapter s|pecifies|
|00000b50| 20 61 20 70 72 6f 74 6f | 63 6f 6c 20 74 68 61 74 | a proto|col that|
|00000b60| 20 53 75 6e 20 4d 69 63 | 72 6f 73 79 73 74 65 6d | Sun Mic|rosystem|
|00000b70| 73 2c 20 49 6e 63 2e 2c | 20 61 6e 64 20 0a 6f 74 |s, Inc.,| and .ot|
|00000b80| 68 65 72 73 20 61 72 65 | 20 75 73 69 6e 67 2e 20 |hers are| using. |
|00000b90| 20 49 74 20 68 61 73 20 | 62 65 65 6e 20 64 65 73 | It has |been des|
|00000ba0| 69 67 6e 61 74 65 64 20 | 52 46 43 31 30 31 34 20 |ignated |RFC1014 |
|00000bb0| 62 79 20 74 68 65 20 41 | 52 50 41 20 4e 65 74 77 |by the A|RPA Netw|
|00000bc0| 6f 72 6b 0a 49 6e 66 6f | 72 6d 61 74 69 6f 6e 20 |ork.Info|rmation |
|00000bd0| 43 65 6e 74 65 72 2e 0a | 58 2e 4e 48 20 31 0a 5c |Center..|X.NH 1.\|
|00000be0| 26 49 6e 74 72 6f 64 75 | 63 74 69 6f 6e 0a 58 2e |&Introdu|ction.X.|
|00000bf0| 4c 50 0a 58 44 52 20 69 | 73 20 61 20 73 74 61 6e |LP.XDR i|s a stan|
|00000c00| 64 61 72 64 20 66 6f 72 | 20 74 68 65 20 64 65 73 |dard for| the des|
|00000c10| 63 72 69 70 74 69 6f 6e | 20 61 6e 64 20 65 6e 63 |cription| and enc|
|00000c20| 6f 64 69 6e 67 20 6f 66 | 20 64 61 74 61 2e 20 20 |oding of| data. |
|00000c30| 49 74 20 69 73 0a 75 73 | 65 66 75 6c 20 66 6f 72 |It is.us|eful for|
|00000c40| 20 74 72 61 6e 73 66 65 | 72 72 69 6e 67 20 64 61 | transfe|rring da|
|00000c50| 74 61 20 62 65 74 77 65 | 65 6e 20 64 69 66 66 65 |ta betwe|en diffe|
|00000c60| 72 65 6e 74 20 63 6f 6d | 70 75 74 65 72 0a 61 72 |rent com|puter.ar|
|00000c70| 63 68 69 74 65 63 74 75 | 72 65 73 2c 20 61 6e 64 |chitectu|res, and|
|00000c80| 20 68 61 73 20 62 65 65 | 6e 20 75 73 65 64 20 74 | has bee|n used t|
|00000c90| 6f 20 63 6f 6d 6d 75 6e | 69 63 61 74 65 20 64 61 |o commun|icate da|
|00000ca0| 74 61 20 62 65 74 77 65 | 65 6e 20 73 75 63 68 0a |ta betwe|en such.|
|00000cb0| 64 69 76 65 72 73 65 20 | 6d 61 63 68 69 6e 65 73 |diverse |machines|
|00000cc0| 20 61 73 20 74 68 65 20 | 53 75 6e 20 57 6f 72 6b | as the |Sun Work|
|00000cd0| 73 74 61 74 69 6f 6e 2c | 20 56 41 58 2c 20 49 42 |station,| VAX, IB|
|00000ce0| 4d 2d 50 43 2c 20 61 6e | 64 20 43 72 61 79 2e 0a |M-PC, an|d Cray..|
|00000cf0| 58 44 52 20 66 69 74 73 | 20 69 6e 74 6f 20 74 68 |XDR fits| into th|
|00000d00| 65 20 49 53 4f 20 70 72 | 65 73 65 6e 74 61 74 69 |e ISO pr|esentati|
|00000d10| 6f 6e 20 6c 61 79 65 72 | 2c 20 61 6e 64 20 69 73 |on layer|, and is|
|00000d20| 20 72 6f 75 67 68 6c 79 | 20 61 6e 61 6c 6f 67 6f | roughly| analogo|
|00000d30| 75 73 20 69 6e 0a 70 75 | 72 70 6f 73 65 20 74 6f |us in.pu|rpose to|
|00000d40| 20 58 2e 34 30 39 2c 20 | 49 53 4f 20 41 62 73 74 | X.409, |ISO Abst|
|00000d50| 72 61 63 74 20 53 79 6e | 74 61 78 20 4e 6f 74 61 |ract Syn|tax Nota|
|00000d60| 74 69 6f 6e 2e 20 20 54 | 68 65 20 6d 61 6a 6f 72 |tion. T|he major|
|00000d70| 20 64 69 66 66 65 72 65 | 6e 63 65 0a 62 65 74 77 | differe|nce.betw|
|00000d80| 65 65 6e 20 74 68 65 73 | 65 20 74 77 6f 20 69 73 |een thes|e two is|
|00000d90| 20 74 68 61 74 20 58 44 | 52 20 75 73 65 73 20 69 | that XD|R uses i|
|00000da0| 6d 70 6c 69 63 69 74 20 | 74 79 70 69 6e 67 2c 20 |mplicit |typing, |
|00000db0| 77 68 69 6c 65 20 58 2e | 34 30 39 20 75 73 65 73 |while X.|409 uses|
|00000dc0| 0a 65 78 70 6c 69 63 69 | 74 20 74 79 70 69 6e 67 |.explici|t typing|
|00000dd0| 2e 0a 58 2e 4c 50 0a 58 | 44 52 20 75 73 65 73 20 |..X.LP.X|DR uses |
|00000de0| 61 20 6c 61 6e 67 75 61 | 67 65 20 74 6f 20 64 65 |a langua|ge to de|
|00000df0| 73 63 72 69 62 65 20 64 | 61 74 61 20 66 6f 72 6d |scribe d|ata form|
|00000e00| 61 74 73 2e 20 20 54 68 | 65 20 6c 61 6e 67 75 61 |ats. Th|e langua|
|00000e10| 67 65 20 63 61 6e 20 6f | 6e 6c 79 0a 62 65 20 75 |ge can o|nly.be u|
|00000e20| 73 65 64 20 6f 6e 6c 79 | 20 74 6f 20 64 65 73 63 |sed only| to desc|
|00000e30| 72 69 62 65 20 64 61 74 | 61 3b 20 69 74 20 69 73 |ribe dat|a; it is|
|00000e40| 20 6e 6f 74 20 61 20 70 | 72 6f 67 72 61 6d 6d 69 | not a p|rogrammi|
|00000e50| 6e 67 20 6c 61 6e 67 75 | 61 67 65 2e 0a 54 68 69 |ng langu|age..Thi|
|00000e60| 73 20 6c 61 6e 67 75 61 | 67 65 20 61 6c 6c 6f 77 |s langua|ge allow|
|00000e70| 73 20 6f 6e 65 20 74 6f | 20 64 65 73 63 72 69 62 |s one to| describ|
|00000e80| 65 20 69 6e 74 72 69 63 | 61 74 65 20 64 61 74 61 |e intric|ate data|
|00000e90| 20 66 6f 72 6d 61 74 73 | 20 69 6e 20 61 0a 63 6f | formats| in a.co|
|00000ea0| 6e 63 69 73 65 20 6d 61 | 6e 6e 65 72 2e 20 54 68 |ncise ma|nner. Th|
|00000eb0| 65 20 61 6c 74 65 72 6e | 61 74 69 76 65 20 6f 66 |e altern|ative of|
|00000ec0| 20 75 73 69 6e 67 20 67 | 72 61 70 68 69 63 61 6c | using g|raphical|
|00000ed0| 20 72 65 70 72 65 73 65 | 6e 74 61 74 69 6f 6e 73 | represe|ntations|
|00000ee0| 0a 28 69 74 73 65 6c 66 | 20 61 6e 20 69 6e 66 6f |.(itself| an info|
|00000ef0| 72 6d 61 6c 20 6c 61 6e | 67 75 61 67 65 29 20 71 |rmal lan|guage) q|
|00000f00| 75 69 63 6b 6c 79 20 62 | 65 63 6f 6d 65 73 20 69 |uickly b|ecomes i|
|00000f10| 6e 63 6f 6d 70 72 65 68 | 65 6e 73 69 62 6c 65 20 |ncompreh|ensible |
|00000f20| 77 68 65 6e 0a 66 61 63 | 65 64 20 77 69 74 68 20 |when.fac|ed with |
|00000f30| 63 6f 6d 70 6c 65 78 69 | 74 79 2e 20 20 54 68 65 |complexi|ty. The|
|00000f40| 20 58 44 52 20 6c 61 6e | 67 75 61 67 65 20 69 74 | XDR lan|guage it|
|00000f50| 73 65 6c 66 20 69 73 20 | 73 69 6d 69 6c 61 72 20 |self is |similar |
|00000f60| 74 6f 20 74 68 65 20 43 | 0a 6c 61 6e 67 75 61 67 |to the C|.languag|
|00000f70| 65 20 5b 31 5d 2c 20 6a | 75 73 74 20 61 73 20 43 |e [1], j|ust as C|
|00000f80| 6f 75 72 69 65 72 20 5b | 34 5d 20 69 73 20 73 69 |ourier [|4] is si|
|00000f90| 6d 69 6c 61 72 20 74 6f | 20 4d 65 73 61 2e 20 50 |milar to| Mesa. P|
|00000fa0| 72 6f 74 6f 63 6f 6c 73 | 20 73 75 63 68 0a 61 73 |rotocols| such.as|
|00000fb0| 20 53 75 6e 20 52 50 43 | 20 28 52 65 6d 6f 74 65 | Sun RPC| (Remote|
|00000fc0| 20 50 72 6f 63 65 64 75 | 72 65 20 43 61 6c 6c 29 | Procedu|re Call)|
|00000fd0| 20 61 6e 64 20 74 68 65 | 20 4e 46 53 20 28 4e 65 | and the| NFS (Ne|
|00000fe0| 74 77 6f 72 6b 20 46 69 | 6c 65 20 53 79 73 74 65 |twork Fi|le Syste|
|00000ff0| 6d 29 0a 75 73 65 20 58 | 44 52 20 74 6f 20 64 65 |m).use X|DR to de|
|00001000| 73 63 72 69 62 65 20 74 | 68 65 20 66 6f 72 6d 61 |scribe t|he forma|
|00001010| 74 20 6f 66 20 74 68 65 | 69 72 20 64 61 74 61 2e |t of the|ir data.|
|00001020| 0a 58 2e 4c 50 0a 54 68 | 65 20 58 44 52 20 73 74 |.X.LP.Th|e XDR st|
|00001030| 61 6e 64 61 72 64 20 6d | 61 6b 65 73 20 74 68 65 |andard m|akes the|
|00001040| 20 66 6f 6c 6c 6f 77 69 | 6e 67 20 61 73 73 75 6d | followi|ng assum|
|00001050| 70 74 69 6f 6e 3a 20 74 | 68 61 74 20 62 79 74 65 |ption: t|hat byte|
|00001060| 73 20 28 6f 72 0a 6f 63 | 74 65 74 73 29 20 61 72 |s (or.oc|tets) ar|
|00001070| 65 20 70 6f 72 74 61 62 | 6c 65 2c 20 77 68 65 72 |e portab|le, wher|
|00001080| 65 20 61 20 62 79 74 65 | 20 69 73 20 64 65 66 69 |e a byte| is defi|
|00001090| 6e 65 64 20 74 6f 20 62 | 65 20 38 20 62 69 74 73 |ned to b|e 8 bits|
|000010a0| 20 6f 66 20 64 61 74 61 | 2e 0a 41 20 67 69 76 65 | of data|..A give|
|000010b0| 6e 20 68 61 72 64 77 61 | 72 65 20 64 65 76 69 63 |n hardwa|re devic|
|000010c0| 65 20 73 68 6f 75 6c 64 | 20 65 6e 63 6f 64 65 20 |e should| encode |
|000010d0| 74 68 65 20 62 79 74 65 | 73 20 6f 6e 74 6f 20 74 |the byte|s onto t|
|000010e0| 68 65 20 76 61 72 69 6f | 75 73 0a 6d 65 64 69 61 |he vario|us.media|
|000010f0| 20 69 6e 20 73 75 63 68 | 20 61 20 77 61 79 20 74 | in such| a way t|
|00001100| 68 61 74 20 6f 74 68 65 | 72 20 68 61 72 64 77 61 |hat othe|r hardwa|
|00001110| 72 65 20 64 65 76 69 63 | 65 73 20 6d 61 79 20 64 |re devic|es may d|
|00001120| 65 63 6f 64 65 20 74 68 | 65 20 62 79 74 65 73 0a |ecode th|e bytes.|
|00001130| 77 69 74 68 6f 75 74 20 | 6c 6f 73 73 20 6f 66 20 |without |loss of |
|00001140| 6d 65 61 6e 69 6e 67 2e | 20 20 46 6f 72 20 65 78 |meaning.| For ex|
|00001150| 61 6d 70 6c 65 2c 20 74 | 68 65 20 45 74 68 65 72 |ample, t|he Ether|
|00001160| 6e 65 74 20 73 74 61 6e | 64 61 72 64 0a 73 75 67 |net stan|dard.sug|
|00001170| 67 65 73 74 73 20 74 68 | 61 74 20 62 79 74 65 73 |gests th|at bytes|
|00001180| 20 62 65 20 65 6e 63 6f | 64 65 64 20 69 6e 20 22 | be enco|ded in "|
|00001190| 6c 69 74 74 6c 65 2d 65 | 6e 64 69 61 6e 22 20 73 |little-e|ndian" s|
|000011a0| 74 79 6c 65 20 5b 32 5d | 2c 20 6f 72 20 6c 65 61 |tyle [2]|, or lea|
|000011b0| 73 74 0a 73 69 67 6e 69 | 66 69 63 61 6e 74 20 62 |st.signi|ficant b|
|000011c0| 69 74 20 66 69 72 73 74 | 2e 0a 58 2e 4e 48 20 32 |it first|..X.NH 2|
|000011d0| 0a 5c 26 42 61 73 69 63 | 20 42 6c 6f 63 6b 20 53 |.\&Basic| Block S|
|000011e0| 69 7a 65 0a 58 2e 49 58 | 20 58 44 52 20 22 62 61 |ize.X.IX| XDR "ba|
|000011f0| 73 69 63 20 62 6c 6f 63 | 6b 20 73 69 7a 65 22 0a |sic bloc|k size".|
|00001200| 58 2e 49 58 20 58 44 52 | 20 22 62 6c 6f 63 6b 20 |X.IX XDR| "block |
|00001210| 73 69 7a 65 22 0a 58 2e | 4c 50 0a 54 68 65 20 72 |size".X.|LP.The r|
|00001220| 65 70 72 65 73 65 6e 74 | 61 74 69 6f 6e 20 6f 66 |epresent|ation of|
|00001230| 20 61 6c 6c 20 69 74 65 | 6d 73 20 72 65 71 75 69 | all ite|ms requi|
|00001240| 72 65 73 20 61 20 6d 75 | 6c 74 69 70 6c 65 20 6f |res a mu|ltiple o|
|00001250| 66 20 66 6f 75 72 20 62 | 79 74 65 73 20 28 6f 72 |f four b|ytes (or|
|00001260| 0a 33 32 20 62 69 74 73 | 29 20 6f 66 20 64 61 74 |.32 bits|) of dat|
|00001270| 61 2e 20 20 54 68 65 20 | 62 79 74 65 73 20 61 72 |a. The |bytes ar|
|00001280| 65 20 6e 75 6d 62 65 72 | 65 64 20 30 20 74 68 72 |e number|ed 0 thr|
|00001290| 6f 75 67 68 20 6e 2d 31 | 2e 20 20 54 68 65 20 62 |ough n-1|. The b|
|000012a0| 79 74 65 73 0a 61 72 65 | 20 72 65 61 64 20 6f 72 |ytes.are| read or|
|000012b0| 20 77 72 69 74 74 65 6e | 20 74 6f 20 73 6f 6d 65 | written| to some|
|000012c0| 20 62 79 74 65 20 73 74 | 72 65 61 6d 20 73 75 63 | byte st|ream suc|
|000012d0| 68 20 74 68 61 74 20 62 | 79 74 65 20 6d 20 61 6c |h that b|yte m al|
|000012e0| 77 61 79 73 0a 70 72 65 | 63 65 64 65 73 20 62 79 |ways.pre|cedes by|
|000012f0| 74 65 20 6d 2b 31 2e 20 | 20 49 66 20 74 68 65 20 |te m+1. | If the |
|00001300| 6e 20 62 79 74 65 73 20 | 6e 65 65 64 65 64 20 74 |n bytes |needed t|
|00001310| 6f 20 63 6f 6e 74 61 69 | 6e 20 74 68 65 20 64 61 |o contai|n the da|
|00001320| 74 61 20 61 72 65 20 6e | 6f 74 0a 61 20 6d 75 6c |ta are n|ot.a mul|
|00001330| 74 69 70 6c 65 20 6f 66 | 20 66 6f 75 72 2c 20 74 |tiple of| four, t|
|00001340| 68 65 6e 20 74 68 65 20 | 6e 20 62 79 74 65 73 20 |hen the |n bytes |
|00001350| 61 72 65 20 66 6f 6c 6c | 6f 77 65 64 20 62 79 20 |are foll|owed by |
|00001360| 65 6e 6f 75 67 68 20 28 | 30 20 74 6f 20 33 29 0a |enough (|0 to 3).|
|00001370| 72 65 73 69 64 75 61 6c | 20 7a 65 72 6f 20 62 79 |residual| zero by|
|00001380| 74 65 73 2c 20 72 2c 20 | 74 6f 20 6d 61 6b 65 20 |tes, r, |to make |
|00001390| 74 68 65 20 74 6f 74 61 | 6c 20 62 79 74 65 20 63 |the tota|l byte c|
|000013a0| 6f 75 6e 74 20 61 20 6d | 75 6c 74 69 70 6c 65 20 |ount a m|ultiple |
|000013b0| 6f 66 20 34 2e 0a 58 2e | 4c 50 0a 57 65 20 69 6e |of 4..X.|LP.We in|
|000013c0| 63 6c 75 64 65 20 74 68 | 65 20 66 61 6d 69 6c 69 |clude th|e famili|
|000013d0| 61 72 20 67 72 61 70 68 | 69 63 20 62 6f 78 20 6e |ar graph|ic box n|
|000013e0| 6f 74 61 74 69 6f 6e 20 | 66 6f 72 20 69 6c 6c 75 |otation |for illu|
|000013f0| 73 74 72 61 74 69 6f 6e | 20 61 6e 64 0a 63 6f 6d |stration| and.com|
|00001400| 70 61 72 69 73 6f 6e 2e | 20 20 49 6e 20 6d 6f 73 |parison.| In mos|
|00001410| 74 20 69 6c 6c 75 73 74 | 72 61 74 69 6f 6e 73 2c |t illust|rations,|
|00001420| 20 65 61 63 68 20 62 6f | 78 20 28 64 65 6c 69 6d | each bo|x (delim|
|00001430| 69 74 65 64 20 62 79 20 | 61 20 70 6c 75 73 0a 73 |ited by |a plus.s|
|00001440| 69 67 6e 20 61 74 20 74 | 68 65 20 34 20 63 6f 72 |ign at t|he 4 cor|
|00001450| 6e 65 72 73 20 61 6e 64 | 20 76 65 72 74 69 63 61 |ners and| vertica|
|00001460| 6c 20 62 61 72 73 20 61 | 6e 64 20 64 61 73 68 65 |l bars a|nd dashe|
|00001470| 73 29 20 64 65 70 69 63 | 74 73 20 61 20 62 79 74 |s) depic|ts a byt|
|00001480| 65 2e 0a 45 6c 6c 69 70 | 73 65 73 20 28 2e 2e 2e |e..Ellip|ses (...|
|00001490| 29 20 62 65 74 77 65 65 | 6e 20 62 6f 78 65 73 20 |) betwee|n boxes |
|000014a0| 73 68 6f 77 20 7a 65 72 | 6f 20 6f 72 20 6d 6f 72 |show zer|o or mor|
|000014b0| 65 20 61 64 64 69 74 69 | 6f 6e 61 6c 20 62 79 74 |e additi|onal byt|
|000014c0| 65 73 20 77 68 65 72 65 | 0a 72 65 71 75 69 72 65 |es where|.require|
|000014d0| 64 2e 0a 58 2e 69 65 20 | 74 20 2e 44 53 0a 58 2e |d..X.ie |t .DS.X.|
|000014e0| 65 6c 20 2e 44 53 20 4c | 0a 5c 66 49 41 20 42 6c |el .DS L|.\fIA Bl|
|000014f0| 6f 63 6b 5c 66 50 0a 0a | 5c 66 28 43 57 2b 2d 2d |ock\fP..|\f(CW+--|
|00001500| 2d 2d 2d 2d 2d 2d 2b 2d | 2d 2d 2d 2d 2d 2d 2d 2b |------+-|-------+|
|00001510| 2e 2e 2e 2b 2d 2d 2d 2d | 2d 2d 2d 2d 2b 2d 2d 2d |...+----|----+---|
|00001520| 2d 2d 2d 2d 2d 2b 2e 2e | 2e 2b 2d 2d 2d 2d 2d 2d |-----+..|.+------|
|00001530| 2d 2d 2b 0a 7c 20 62 79 | 74 65 20 30 20 7c 20 62 |--+.| by|te 0 | b|
|00001540| 79 74 65 20 31 20 7c 2e | 2e 2e 7c 62 79 74 65 20 |yte 1 |.|..|byte |
|00001550| 6e 2d 31 7c 20 20 20 20 | 30 20 20 20 7c 2e 2e 2e |n-1| |0 |...|
|00001560| 7c 20 20 20 20 30 20 20 | 20 7c 0a 2b 2d 2d 2d 2d || 0 | |.+----|
|00001570| 2d 2d 2d 2d 2b 2d 2d 2d | 2d 2d 2d 2d 2d 2b 2e 2e |----+---|-----+..|
|00001580| 2e 2b 2d 2d 2d 2d 2d 2d | 2d 2d 2b 2d 2d 2d 2d 2d |.+------|--+-----|
|00001590| 2d 2d 2d 2b 2e 2e 2e 2b | 2d 2d 2d 2d 2d 2d 2d 2d |---+...+|--------|
|000015a0| 2b 0a 7c 3c 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 6e |+.|<----|-------n|
|000015b0| 20 62 79 74 65 73 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d | bytes--|--------|
|000015c0| 3e 7c 3c 2d 2d 2d 2d 2d | 2d 72 20 62 79 74 65 73 |>|<-----|-r bytes|
|000015d0| 2d 2d 2d 2d 2d 2d 3e 7c | 0a 7c 3c 2d 2d 2d 2d 2d |------>||.|<-----|
|000015e0| 2d 2d 2d 2d 2d 2d 6e 2b | 72 20 28 77 68 65 72 65 |------n+|r (where|
|000015f0| 20 28 6e 2b 72 29 20 6d | 6f 64 20 34 20 3d 20 30 | (n+r) m|od 4 = 0|
|00001600| 29 3e 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 3e 7c 5c |)>------|----->|\|
|00001610| 66 50 0a 0a 58 2e 44 45 | 0a 58 2e 4e 48 20 31 0a |fP..X.DE|.X.NH 1.|
|00001620| 5c 26 58 44 52 20 44 61 | 74 61 20 54 79 70 65 73 |\&XDR Da|ta Types|
|00001630| 0a 58 2e 49 58 20 58 44 | 52 20 22 64 61 74 61 20 |.X.IX XD|R "data |
|00001640| 74 79 70 65 73 22 0a 58 | 2e 49 58 20 22 58 44 52 |types".X|.IX "XDR|
|00001650| 20 64 61 74 61 20 74 79 | 70 65 73 22 0a 58 2e 4c | data ty|pes".X.L|
|00001660| 50 0a 45 61 63 68 20 6f | 66 20 74 68 65 20 73 65 |P.Each o|f the se|
|00001670| 63 74 69 6f 6e 73 20 74 | 68 61 74 20 66 6f 6c 6c |ctions t|hat foll|
|00001680| 6f 77 20 64 65 73 63 72 | 69 62 65 73 20 61 20 64 |ow descr|ibes a d|
|00001690| 61 74 61 20 74 79 70 65 | 20 64 65 66 69 6e 65 64 |ata type| defined|
|000016a0| 20 69 6e 20 74 68 65 0a | 58 44 52 20 73 74 61 6e | in the.|XDR stan|
|000016b0| 64 61 72 64 2c 20 73 68 | 6f 77 73 20 68 6f 77 20 |dard, sh|ows how |
|000016c0| 69 74 20 69 73 20 64 65 | 63 6c 61 72 65 64 20 69 |it is de|clared i|
|000016d0| 6e 20 74 68 65 20 6c 61 | 6e 67 75 61 67 65 2c 20 |n the la|nguage, |
|000016e0| 61 6e 64 20 69 6e 63 6c | 75 64 65 73 0a 61 20 67 |and incl|udes.a g|
|000016f0| 72 61 70 68 69 63 20 69 | 6c 6c 75 73 74 72 61 74 |raphic i|llustrat|
|00001700| 69 6f 6e 20 6f 66 20 69 | 74 73 20 65 6e 63 6f 64 |ion of i|ts encod|
|00001710| 69 6e 67 2e 0a 58 2e 4c | 50 0a 46 6f 72 20 65 61 |ing..X.L|P.For ea|
|00001720| 63 68 20 64 61 74 61 20 | 74 79 70 65 20 69 6e 20 |ch data |type in |
|00001730| 74 68 65 20 6c 61 6e 67 | 75 61 67 65 20 77 65 20 |the lang|uage we |
|00001740| 73 68 6f 77 20 61 20 67 | 65 6e 65 72 61 6c 20 70 |show a g|eneral p|
|00001750| 61 72 61 64 69 67 6d 0a | 64 65 63 6c 61 72 61 74 |aradigm.|declarat|
|00001760| 69 6f 6e 2e 20 20 4e 6f | 74 65 20 74 68 61 74 20 |ion. No|te that |
|00001770| 61 6e 67 6c 65 20 62 72 | 61 63 6b 65 74 73 20 28 |angle br|ackets (|
|00001780| 3c 20 61 6e 64 20 3e 29 | 20 64 65 6e 6f 74 65 0a |< and >)| denote.|
|00001790| 76 61 72 69 61 62 6c 65 | 20 6c 65 6e 67 74 68 20 |variable| length |
|000017a0| 73 65 71 75 65 6e 63 65 | 73 20 6f 66 20 64 61 74 |sequence|s of dat|
|000017b0| 61 20 61 6e 64 20 73 71 | 75 61 72 65 20 62 72 61 |a and sq|uare bra|
|000017c0| 63 6b 65 74 73 20 28 5b | 20 61 6e 64 20 5d 29 20 |ckets ([| and ]) |
|000017d0| 64 65 6e 6f 74 65 0a 66 | 69 78 65 64 2d 6c 65 6e |denote.f|ixed-len|
|000017e0| 67 74 68 20 73 65 71 75 | 65 6e 63 65 73 20 6f 66 |gth sequ|ences of|
|000017f0| 20 64 61 74 61 2e 20 20 | 22 6e 22 2c 20 22 6d 22 | data. |"n", "m"|
|00001800| 20 61 6e 64 20 22 72 22 | 20 64 65 6e 6f 74 65 20 | and "r"| denote |
|00001810| 69 6e 74 65 67 65 72 73 | 2e 0a 46 6f 72 20 74 68 |integers|..For th|
|00001820| 65 20 66 75 6c 6c 20 6c | 61 6e 67 75 61 67 65 20 |e full l|anguage |
|00001830| 73 70 65 63 69 66 69 63 | 61 74 69 6f 6e 20 61 6e |specific|ation an|
|00001840| 64 20 6d 6f 72 65 20 66 | 6f 72 6d 61 6c 20 64 65 |d more f|ormal de|
|00001850| 66 69 6e 69 74 69 6f 6e | 73 20 6f 66 0a 74 65 72 |finition|s of.ter|
|00001860| 6d 73 20 73 75 63 68 20 | 61 73 20 22 69 64 65 6e |ms such |as "iden|
|00001870| 74 69 66 69 65 72 22 20 | 61 6e 64 20 22 64 65 63 |tifier" |and "dec|
|00001880| 6c 61 72 61 74 69 6f 6e | 22 2c 20 72 65 66 65 72 |laration|", refer|
|00001890| 20 74 6f 0a 58 2e 49 20 | 22 54 68 65 20 58 44 52 | to.X.I |"The XDR|
|000018a0| 20 4c 61 6e 67 75 61 67 | 65 20 53 70 65 63 69 66 | Languag|e Specif|
|000018b0| 69 63 61 74 69 6f 6e 22 | 20 2c 0a 62 65 6c 6f 77 |ication"| ,.below|
|000018c0| 2e 0a 58 2e 4c 50 0a 46 | 6f 72 20 73 6f 6d 65 20 |..X.LP.F|or some |
|000018d0| 64 61 74 61 20 74 79 70 | 65 73 2c 20 6d 6f 72 65 |data typ|es, more|
|000018e0| 20 73 70 65 63 69 66 69 | 63 20 65 78 61 6d 70 6c | specifi|c exampl|
|000018f0| 65 73 20 61 72 65 20 69 | 6e 63 6c 75 64 65 64 2e |es are i|ncluded.|
|00001900| 20 20 41 20 6d 6f 72 65 | 0a 65 78 74 65 6e 73 69 | A more|.extensi|
|00001910| 76 65 20 65 78 61 6d 70 | 6c 65 20 6f 66 20 61 20 |ve examp|le of a |
|00001920| 64 61 74 61 20 64 65 73 | 63 72 69 70 74 69 6f 6e |data des|cription|
|00001930| 20 69 73 20 69 6e 20 0a | 58 2e 49 20 22 41 6e 20 | is in .|X.I "An |
|00001940| 45 78 61 6d 70 6c 65 20 | 6f 66 20 61 6e 20 58 44 |Example |of an XD|
|00001950| 52 20 44 61 74 61 20 44 | 65 73 63 72 69 70 74 69 |R Data D|escripti|
|00001960| 6f 6e 22 20 2c 0a 62 65 | 6c 6f 77 2e 0a 58 2e 4e |on" ,.be|low..X.N|
|00001970| 48 20 32 0a 5c 26 49 6e | 74 65 67 65 72 0a 58 2e |H 2.\&In|teger.X.|
|00001980| 49 58 20 58 44 52 20 69 | 6e 74 65 67 65 72 0a 58 |IX XDR i|nteger.X|
|00001990| 2e 4c 50 0a 41 6e 20 58 | 44 52 20 73 69 67 6e 65 |.LP.An X|DR signe|
|000019a0| 64 20 69 6e 74 65 67 65 | 72 20 69 73 20 61 20 33 |d intege|r is a 3|
|000019b0| 32 2d 62 69 74 20 64 61 | 74 75 6d 20 74 68 61 74 |2-bit da|tum that|
|000019c0| 20 65 6e 63 6f 64 65 73 | 20 61 6e 20 69 6e 74 65 | encodes| an inte|
|000019d0| 67 65 72 20 69 6e 0a 74 | 68 65 20 72 61 6e 67 65 |ger in.t|he range|
|000019e0| 20 5b 2d 32 31 34 37 34 | 38 33 36 34 38 2c 32 31 | [-21474|83648,21|
|000019f0| 34 37 34 38 33 36 34 37 | 5d 2e 20 20 54 68 65 20 |47483647|]. The |
|00001a00| 69 6e 74 65 67 65 72 20 | 69 73 20 72 65 70 72 65 |integer |is repre|
|00001a10| 73 65 6e 74 65 64 20 69 | 6e 0a 74 77 6f 27 73 20 |sented i|n.two's |
|00001a20| 63 6f 6d 70 6c 65 6d 65 | 6e 74 20 6e 6f 74 61 74 |compleme|nt notat|
|00001a30| 69 6f 6e 2e 20 20 54 68 | 65 20 6d 6f 73 74 20 61 |ion. Th|e most a|
|00001a40| 6e 64 20 6c 65 61 73 74 | 20 73 69 67 6e 69 66 69 |nd least| signifi|
|00001a50| 63 61 6e 74 20 62 79 74 | 65 73 20 61 72 65 0a 30 |cant byt|es are.0|
|00001a60| 20 61 6e 64 20 33 2c 20 | 72 65 73 70 65 63 74 69 | and 3, |respecti|
|00001a70| 76 65 6c 79 2e 20 20 49 | 6e 74 65 67 65 72 73 20 |vely. I|ntegers |
|00001a80| 61 72 65 20 64 65 63 6c | 61 72 65 64 20 61 73 20 |are decl|ared as |
|00001a90| 66 6f 6c 6c 6f 77 73 3a | 0a 58 2e 69 65 20 74 20 |follows:|.X.ie t |
|00001aa0| 2e 44 53 0a 58 2e 65 6c | 20 2e 44 53 20 4c 0a 5c |.DS.X.el| .DS L.\|
|00001ab0| 66 49 49 6e 74 65 67 65 | 72 5c 66 50 0a 0a 5c 66 |fIIntege|r\fP..\f|
|00001ac0| 28 43 57 28 4d 53 42 29 | 20 20 20 20 20 20 20 20 |(CW(MSB)| |
|00001ad0| 20 20 20 20 20 20 20 20 | 20 20 20 28 4c 53 42 29 | | (LSB)|
|00001ae0| 0a 2b 2d 2d 2d 2d 2d 2d | 2d 2b 2d 2d 2d 2d 2d 2d |.+------|-+------|
|00001af0| 2d 2b 2d 2d 2d 2d 2d 2d | 2d 2b 2d 2d 2d 2d 2d 2d |-+------|-+------|
|00001b00| 2d 2b 0a 7c 62 79 74 65 | 20 30 20 7c 62 79 74 65 |-+.|byte| 0 |byte|
|00001b10| 20 31 20 7c 62 79 74 65 | 20 32 20 7c 62 79 74 65 | 1 |byte| 2 |byte|
|00001b20| 20 33 20 7c 0a 2b 2d 2d | 2d 2d 2d 2d 2d 2b 2d 2d | 3 |.+--|-----+--|
|00001b30| 2d 2d 2d 2d 2d 2b 2d 2d | 2d 2d 2d 2d 2d 2b 2d 2d |-----+--|-----+--|
|00001b40| 2d 2d 2d 2d 2d 2b 0a 3c | 2d 2d 2d 2d 2d 2d 2d 2d |-----+.<|--------|
|00001b50| 2d 2d 2d 2d 33 32 20 62 | 69 74 73 2d 2d 2d 2d 2d |----32 b|its-----|
|00001b60| 2d 2d 2d 2d 2d 2d 2d 3e | 5c 66 50 0a 58 2e 44 45 |------->|\fP.X.DE|
|00001b70| 0a 58 2e 4e 48 20 32 0a | 5c 26 55 6e 73 69 67 6e |.X.NH 2.|\&Unsign|
|00001b80| 65 64 20 49 6e 74 65 67 | 65 72 0a 58 2e 49 58 20 |ed Integ|er.X.IX |
|00001b90| 58 44 52 20 22 75 6e 73 | 69 67 6e 65 64 20 69 6e |XDR "uns|igned in|
|00001ba0| 74 65 67 65 72 22 0a 58 | 2e 49 58 20 58 44 52 20 |teger".X|.IX XDR |
|00001bb0| 22 69 6e 74 65 67 65 72 | 2c 20 75 6e 73 69 67 6e |"integer|, unsign|
|00001bc0| 65 64 22 0a 58 2e 4c 50 | 0a 41 6e 20 58 44 52 20 |ed".X.LP|.An XDR |
|00001bd0| 75 6e 73 69 67 6e 65 64 | 20 69 6e 74 65 67 65 72 |unsigned| integer|
|00001be0| 20 69 73 20 61 20 33 32 | 2d 62 69 74 20 64 61 74 | is a 32|-bit dat|
|00001bf0| 75 6d 20 74 68 61 74 20 | 65 6e 63 6f 64 65 73 20 |um that |encodes |
|00001c00| 61 20 6e 6f 6e 6e 65 67 | 61 74 69 76 65 0a 69 6e |a nonneg|ative.in|
|00001c10| 74 65 67 65 72 20 69 6e | 20 74 68 65 20 72 61 6e |teger in| the ran|
|00001c20| 67 65 20 5b 30 2c 34 32 | 39 34 39 36 37 32 39 35 |ge [0,42|94967295|
|00001c30| 5d 2e 20 20 49 74 20 69 | 73 20 72 65 70 72 65 73 |]. It i|s repres|
|00001c40| 65 6e 74 65 64 20 62 79 | 20 61 6e 0a 75 6e 73 69 |ented by| an.unsi|
|00001c50| 67 6e 65 64 20 62 69 6e | 61 72 79 20 6e 75 6d 62 |gned bin|ary numb|
|00001c60| 65 72 20 77 68 6f 73 65 | 20 6d 6f 73 74 20 61 6e |er whose| most an|
|00001c70| 64 20 6c 65 61 73 74 20 | 73 69 67 6e 69 66 69 63 |d least |signific|
|00001c80| 61 6e 74 20 62 79 74 65 | 73 20 61 72 65 20 30 0a |ant byte|s are 0.|
|00001c90| 61 6e 64 20 33 2c 20 72 | 65 73 70 65 63 74 69 76 |and 3, r|espectiv|
|00001ca0| 65 6c 79 2e 20 20 41 6e | 20 75 6e 73 69 67 6e 65 |ely. An| unsigne|
|00001cb0| 64 20 69 6e 74 65 67 65 | 72 20 69 73 20 64 65 63 |d intege|r is dec|
|00001cc0| 6c 61 72 65 64 20 61 73 | 20 66 6f 6c 6c 6f 77 73 |lared as| follows|
|00001cd0| 3a 0a 58 2e 69 65 20 74 | 20 2e 44 53 0a 58 2e 65 |:.X.ie t| .DS.X.e|
|00001ce0| 6c 20 2e 44 53 20 4c 0a | 5c 66 49 55 6e 73 69 67 |l .DS L.|\fIUnsig|
|00001cf0| 6e 65 64 20 49 6e 74 65 | 67 65 72 5c 66 50 0a 0a |ned Inte|ger\fP..|
|00001d00| 5c 66 28 43 57 28 4d 53 | 42 29 20 20 20 20 20 20 |\f(CW(MS|B) |
|00001d10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 28 4c 53 | | (LS|
|00001d20| 42 29 0a 2b 2d 2d 2d 2d | 2d 2d 2d 2b 2d 2d 2d 2d |B).+----|---+----|
|00001d30| 2d 2d 2d 2b 2d 2d 2d 2d | 2d 2d 2d 2b 2d 2d 2d 2d |---+----|---+----|
|00001d40| 2d 2d 2d 2b 0a 7c 62 79 | 74 65 20 30 20 7c 62 79 |---+.|by|te 0 |by|
|00001d50| 74 65 20 31 20 7c 62 79 | 74 65 20 32 20 7c 62 79 |te 1 |by|te 2 |by|
|00001d60| 74 65 20 33 20 7c 0a 2b | 2d 2d 2d 2d 2d 2d 2d 2b |te 3 |.+|-------+|
|00001d70| 2d 2d 2d 2d 2d 2d 2d 2b | 2d 2d 2d 2d 2d 2d 2d 2b |-------+|-------+|
|00001d80| 2d 2d 2d 2d 2d 2d 2d 2b | 0a 3c 2d 2d 2d 2d 2d 2d |-------+|.<------|
|00001d90| 2d 2d 2d 2d 2d 2d 33 32 | 20 62 69 74 73 2d 2d 2d |------32| bits---|
|00001da0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 3e 5c 66 50 0a 58 2e |--------|->\fP.X.|
|00001db0| 44 45 0a 58 2e 4e 48 20 | 32 0a 5c 26 45 6e 75 6d |DE.X.NH |2.\&Enum|
|00001dc0| 65 72 61 74 69 6f 6e 0a | 58 2e 49 58 20 58 44 52 |eration.|X.IX XDR|
|00001dd0| 20 65 6e 75 6d 65 72 61 | 74 69 6f 6e 0a 58 2e 4c | enumera|tion.X.L|
|00001de0| 50 0a 45 6e 75 6d 65 72 | 61 74 69 6f 6e 73 20 68 |P.Enumer|ations h|
|00001df0| 61 76 65 20 74 68 65 20 | 73 61 6d 65 20 72 65 70 |ave the |same rep|
|00001e00| 72 65 73 65 6e 74 61 74 | 69 6f 6e 20 61 73 20 73 |resentat|ion as s|
|00001e10| 69 67 6e 65 64 20 69 6e | 74 65 67 65 72 73 2e 0a |igned in|tegers..|
|00001e20| 45 6e 75 6d 65 72 61 74 | 69 6f 6e 73 20 61 72 65 |Enumerat|ions are|
|00001e30| 20 68 61 6e 64 79 20 66 | 6f 72 20 64 65 73 63 72 | handy f|or descr|
|00001e40| 69 62 69 6e 67 20 73 75 | 62 73 65 74 73 20 6f 66 |ibing su|bsets of|
|00001e50| 20 74 68 65 20 69 6e 74 | 65 67 65 72 73 2e 0a 45 | the int|egers..E|
|00001e60| 6e 75 6d 65 72 61 74 65 | 64 20 64 61 74 61 20 69 |numerate|d data i|
|00001e70| 73 20 64 65 63 6c 61 72 | 65 64 20 61 73 20 66 6f |s declar|ed as fo|
|00001e80| 6c 6c 6f 77 73 3a 0a 58 | 2e 66 74 20 43 57 0a 58 |llows:.X|.ft CW.X|
|00001e90| 2e 44 53 0a 65 6e 75 6d | 20 7b 20 6e 61 6d 65 2d |.DS.enum| { name-|
|00001ea0| 69 64 65 6e 74 69 66 69 | 65 72 20 3d 20 63 6f 6e |identifi|er = con|
|00001eb0| 73 74 61 6e 74 2c 20 2e | 2e 2e 20 7d 20 69 64 65 |stant, .|.. } ide|
|00001ec0| 6e 74 69 66 69 65 72 3b | 0a 58 2e 44 45 0a 46 6f |ntifier;|.X.DE.Fo|
|00001ed0| 72 20 65 78 61 6d 70 6c | 65 2c 20 74 68 65 20 74 |r exampl|e, the t|
|00001ee0| 68 72 65 65 20 63 6f 6c | 6f 72 73 20 72 65 64 2c |hree col|ors red,|
|00001ef0| 20 79 65 6c 6c 6f 77 2c | 20 61 6e 64 20 62 6c 75 | yellow,| and blu|
|00001f00| 65 20 63 6f 75 6c 64 20 | 62 65 0a 64 65 73 63 72 |e could |be.descr|
|00001f10| 69 62 65 64 20 62 79 20 | 61 6e 20 65 6e 75 6d 65 |ibed by |an enume|
|00001f20| 72 61 74 65 64 20 74 79 | 70 65 3a 0a 58 2e 44 53 |rated ty|pe:.X.DS|
|00001f30| 0a 58 2e 66 74 20 43 57 | 0a 65 6e 75 6d 20 7b 20 |.X.ft CW|.enum { |
|00001f40| 52 45 44 20 3d 20 32 2c | 20 59 45 4c 4c 4f 57 20 |RED = 2,| YELLOW |
|00001f50| 3d 20 33 2c 20 42 4c 55 | 45 20 3d 20 35 20 7d 20 |= 3, BLU|E = 5 } |
|00001f60| 63 6f 6c 6f 72 73 3b 0a | 58 2e 44 45 0a 49 74 20 |colors;.|X.DE.It |
|00001f70| 69 73 20 61 6e 20 65 72 | 72 6f 72 20 74 6f 20 65 |is an er|ror to e|
|00001f80| 6e 63 6f 64 65 20 61 73 | 20 61 6e 20 65 6e 75 6d |ncode as| an enum|
|00001f90| 20 61 6e 79 20 6f 74 68 | 65 72 20 69 6e 74 65 67 | any oth|er integ|
|00001fa0| 65 72 20 74 68 61 6e 20 | 74 68 6f 73 65 20 74 68 |er than |those th|
|00001fb0| 61 74 0a 68 61 76 65 20 | 62 65 65 6e 20 67 69 76 |at.have |been giv|
|00001fc0| 65 6e 20 61 73 73 69 67 | 6e 6d 65 6e 74 73 20 69 |en assig|nments i|
|00001fd0| 6e 20 74 68 65 20 65 6e | 75 6d 20 64 65 63 6c 61 |n the en|um decla|
|00001fe0| 72 61 74 69 6f 6e 2e 0a | 58 2e 4e 48 20 32 0a 5c |ration..|X.NH 2.\|
|00001ff0| 26 42 6f 6f 6c 65 61 6e | 0a 58 2e 49 58 20 58 44 |&Boolean|.X.IX XD|
|00002000| 52 20 62 6f 6f 6c 65 61 | 6e 0a 58 2e 4c 50 0a 42 |R boolea|n.X.LP.B|
|00002010| 6f 6f 6c 65 61 6e 73 20 | 61 72 65 20 69 6d 70 6f |ooleans |are impo|
|00002020| 72 74 61 6e 74 20 65 6e | 6f 75 67 68 20 61 6e 64 |rtant en|ough and|
|00002030| 20 6f 63 63 75 72 20 66 | 72 65 71 75 65 6e 74 6c | occur f|requentl|
|00002040| 79 20 65 6e 6f 75 67 68 | 20 74 6f 20 77 61 72 72 |y enough| to warr|
|00002050| 61 6e 74 0a 74 68 65 69 | 72 20 6f 77 6e 20 65 78 |ant.thei|r own ex|
|00002060| 70 6c 69 63 69 74 20 74 | 79 70 65 20 69 6e 20 74 |plicit t|ype in t|
|00002070| 68 65 20 73 74 61 6e 64 | 61 72 64 2e 20 20 42 6f |he stand|ard. Bo|
|00002080| 6f 6c 65 61 6e 73 20 61 | 72 65 20 64 65 63 6c 61 |oleans a|re decla|
|00002090| 72 65 64 20 61 73 0a 66 | 6f 6c 6c 6f 77 73 3a 0a |red as.f|ollows:.|
|000020a0| 58 2e 44 53 0a 58 2e 66 | 74 20 43 57 0a 62 6f 6f |X.DS.X.f|t CW.boo|
|000020b0| 6c 20 69 64 65 6e 74 69 | 66 69 65 72 3b 0a 58 2e |l identi|fier;.X.|
|000020c0| 44 45 0a 54 68 69 73 20 | 69 73 20 65 71 75 69 76 |DE.This |is equiv|
|000020d0| 61 6c 65 6e 74 20 74 6f | 3a 0a 58 2e 44 53 0a 58 |alent to|:.X.DS.X|
|000020e0| 2e 66 74 20 43 57 0a 65 | 6e 75 6d 20 7b 20 46 41 |.ft CW.e|num { FA|
|000020f0| 4c 53 45 20 3d 20 30 2c | 20 54 52 55 45 20 3d 20 |LSE = 0,| TRUE = |
|00002100| 31 20 7d 20 69 64 65 6e | 74 69 66 69 65 72 3b 0a |1 } iden|tifier;.|
|00002110| 58 2e 44 45 0a 58 2e 4e | 48 20 32 0a 5c 26 48 79 |X.DE.X.N|H 2.\&Hy|
|00002120| 70 65 72 20 49 6e 74 65 | 67 65 72 20 61 6e 64 20 |per Inte|ger and |
|00002130| 55 6e 73 69 67 6e 65 64 | 20 48 79 70 65 72 20 49 |Unsigned| Hyper I|
|00002140| 6e 74 65 67 65 72 0a 58 | 2e 49 58 20 58 44 52 20 |nteger.X|.IX XDR |
|00002150| 22 68 79 70 65 72 20 69 | 6e 74 65 67 65 72 22 0a |"hyper i|nteger".|
|00002160| 58 2e 49 58 20 58 44 52 | 20 22 69 6e 74 65 67 65 |X.IX XDR| "intege|
|00002170| 72 2c 20 68 79 70 65 72 | 22 0a 58 2e 4c 50 0a 54 |r, hyper|".X.LP.T|
|00002180| 68 65 20 73 74 61 6e 64 | 61 72 64 20 61 6c 73 6f |he stand|ard also|
|00002190| 20 64 65 66 69 6e 65 73 | 20 36 34 2d 62 69 74 20 | defines| 64-bit |
|000021a0| 28 38 2d 62 79 74 65 29 | 20 6e 75 6d 62 65 72 73 |(8-byte)| numbers|
|000021b0| 20 63 61 6c 6c 65 64 20 | 68 79 70 65 72 0a 69 6e | called |hyper.in|
|000021c0| 74 65 67 65 72 20 61 6e | 64 20 75 6e 73 69 67 6e |teger an|d unsign|
|000021d0| 65 64 20 68 79 70 65 72 | 20 69 6e 74 65 67 65 72 |ed hyper| integer|
|000021e0| 2e 20 20 54 68 65 69 72 | 20 72 65 70 72 65 73 65 |. Their| represe|
|000021f0| 6e 74 61 74 69 6f 6e 73 | 20 61 72 65 20 74 68 65 |ntations| are the|
|00002200| 0a 6f 62 76 69 6f 75 73 | 20 65 78 74 65 6e 73 69 |.obvious| extensi|
|00002210| 6f 6e 73 20 6f 66 20 69 | 6e 74 65 67 65 72 20 61 |ons of i|nteger a|
|00002220| 6e 64 20 75 6e 73 69 67 | 6e 65 64 20 69 6e 74 65 |nd unsig|ned inte|
|00002230| 67 65 72 20 64 65 66 69 | 6e 65 64 20 61 62 6f 76 |ger defi|ned abov|
|00002240| 65 2e 0a 54 68 65 79 20 | 61 72 65 20 72 65 70 72 |e..They |are repr|
|00002250| 65 73 65 6e 74 65 64 20 | 69 6e 20 74 77 6f 27 73 |esented |in two's|
|00002260| 20 63 6f 6d 70 6c 65 6d | 65 6e 74 20 6e 6f 74 61 | complem|ent nota|
|00002270| 74 69 6f 6e 2e 20 20 54 | 68 65 20 6d 6f 73 74 20 |tion. T|he most |
|00002280| 61 6e 64 0a 6c 65 61 73 | 74 20 73 69 67 6e 69 66 |and.leas|t signif|
|00002290| 69 63 61 6e 74 20 62 79 | 74 65 73 20 61 72 65 20 |icant by|tes are |
|000022a0| 30 20 61 6e 64 20 37 2c | 20 72 65 73 70 65 63 74 |0 and 7,| respect|
|000022b0| 69 76 65 6c 79 2e 20 20 | 54 68 65 69 72 0a 64 65 |ively. |Their.de|
|000022c0| 63 6c 61 72 61 74 69 6f | 6e 73 3a 0a 58 2e 69 65 |claratio|ns:.X.ie|
|000022d0| 20 74 20 2e 44 53 0a 58 | 2e 65 6c 20 2e 44 53 20 | t .DS.X|.el .DS |
|000022e0| 4c 0a 5c 66 49 48 79 70 | 65 72 20 49 6e 74 65 67 |L.\fIHyp|er Integ|
|000022f0| 65 72 5c 66 50 0a 5c 66 | 49 55 6e 73 69 67 6e 65 |er\fP.\f|IUnsigne|
|00002300| 64 20 48 79 70 65 72 20 | 49 6e 74 65 67 65 72 5c |d Hyper |Integer\|
|00002310| 66 50 0a 0a 5c 66 28 43 | 57 28 4d 53 42 29 20 20 |fP..\f(C|W(MSB) |
|00002320| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002330| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002340| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002350| 20 28 4c 53 42 29 0a 2b | 2d 2d 2d 2d 2d 2d 2d 2b | (LSB).+|-------+|
|00002360| 2d 2d 2d 2d 2d 2d 2d 2b | 2d 2d 2d 2d 2d 2d 2d 2b |-------+|-------+|
|00002370| 2d 2d 2d 2d 2d 2d 2d 2b | 2d 2d 2d 2d 2d 2d 2d 2b |-------+|-------+|
|00002380| 2d 2d 2d 2d 2d 2d 2d 2b | 2d 2d 2d 2d 2d 2d 2d 2b |-------+|-------+|
|00002390| 2d 2d 2d 2d 2d 2d 2d 2b | 0a 7c 62 79 74 65 20 30 |-------+|.|byte 0|
|000023a0| 20 7c 62 79 74 65 20 31 | 20 7c 62 79 74 65 20 32 | |byte 1| |byte 2|
|000023b0| 20 7c 62 79 74 65 20 33 | 20 7c 62 79 74 65 20 34 | |byte 3| |byte 4|
|000023c0| 20 7c 62 79 74 65 20 35 | 20 7c 62 79 74 65 20 36 | |byte 5| |byte 6|
|000023d0| 20 7c 62 79 74 65 20 37 | 20 7c 0a 2b 2d 2d 2d 2d | |byte 7| |.+----|
|000023e0| 2d 2d 2d 2b 2d 2d 2d 2d | 2d 2d 2d 2b 2d 2d 2d 2d |---+----|---+----|
|000023f0| 2d 2d 2d 2b 2d 2d 2d 2d | 2d 2d 2d 2b 2d 2d 2d 2d |---+----|---+----|
|00002400| 2d 2d 2d 2b 2d 2d 2d 2d | 2d 2d 2d 2b 2d 2d 2d 2d |---+----|---+----|
|00002410| 2d 2d 2d 2b 2d 2d 2d 2d | 2d 2d 2d 2b 0a 3c 2d 2d |---+----|---+.<--|
|00002420| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002430| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 36 34 20 62 69 74 |--------|--64 bit|
|00002440| 73 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |s-------|--------|
|00002450| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 3e 5c 66 |--------|----->\f|
|00002460| 50 0a 58 2e 44 45 0a 58 | 2e 4e 48 20 32 0a 5c 26 |P.X.DE.X|.NH 2.\&|
|00002470| 46 6c 6f 61 74 69 6e 67 | 2d 70 6f 69 6e 74 0a 58 |Floating|-point.X|
|00002480| 2e 49 58 20 58 44 52 20 | 22 69 6e 74 65 67 65 72 |.IX XDR |"integer|
|00002490| 2c 20 66 6c 6f 61 74 69 | 6e 67 20 70 6f 69 6e 74 |, floati|ng point|
|000024a0| 22 0a 58 2e 49 58 20 58 | 44 52 20 22 66 6c 6f 61 |".X.IX X|DR "floa|
|000024b0| 74 69 6e 67 2d 70 6f 69 | 6e 74 20 69 6e 74 65 67 |ting-poi|nt integ|
|000024c0| 65 72 22 0a 58 2e 4c 50 | 0a 54 68 65 20 73 74 61 |er".X.LP|.The sta|
|000024d0| 6e 64 61 72 64 20 64 65 | 66 69 6e 65 73 20 74 68 |ndard de|fines th|
|000024e0| 65 20 66 6c 6f 61 74 69 | 6e 67 2d 70 6f 69 6e 74 |e floati|ng-point|
|000024f0| 20 64 61 74 61 20 74 79 | 70 65 20 22 66 6c 6f 61 | data ty|pe "floa|
|00002500| 74 22 20 28 33 32 20 62 | 69 74 73 20 6f 72 0a 34 |t" (32 b|its or.4|
|00002510| 20 62 79 74 65 73 29 2e | 20 20 54 68 65 20 65 6e | bytes).| The en|
|00002520| 63 6f 64 69 6e 67 20 75 | 73 65 64 20 69 73 20 74 |coding u|sed is t|
|00002530| 68 65 20 49 45 45 45 20 | 73 74 61 6e 64 61 72 64 |he IEEE |standard|
|00002540| 20 66 6f 72 20 6e 6f 72 | 6d 61 6c 69 7a 65 64 0a | for nor|malized.|
|00002550| 73 69 6e 67 6c 65 2d 70 | 72 65 63 69 73 69 6f 6e |single-p|recision|
|00002560| 20 66 6c 6f 61 74 69 6e | 67 2d 70 6f 69 6e 74 20 | floatin|g-point |
|00002570| 6e 75 6d 62 65 72 73 20 | 5b 33 5d 2e 20 20 54 68 |numbers |[3]. Th|
|00002580| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 74 68 72 65 |e follow|ing thre|
|00002590| 65 0a 66 69 65 6c 64 73 | 20 64 65 73 63 72 69 62 |e.fields| describ|
|000025a0| 65 20 74 68 65 20 73 69 | 6e 67 6c 65 2d 70 72 65 |e the si|ngle-pre|
|000025b0| 63 69 73 69 6f 6e 20 66 | 6c 6f 61 74 69 6e 67 2d |cision f|loating-|
|000025c0| 70 6f 69 6e 74 20 6e 75 | 6d 62 65 72 3a 0a 58 2e |point nu|mber:.X.|
|000025d0| 52 53 0a 58 2e 49 50 20 | 5c 66 42 53 5c 66 50 3a |RS.X.IP |\fBS\fP:|
|000025e0| 0a 54 68 65 20 73 69 67 | 6e 20 6f 66 20 74 68 65 |.The sig|n of the|
|000025f0| 20 6e 75 6d 62 65 72 2e | 20 20 56 61 6c 75 65 73 | number.| Values|
|00002600| 20 30 20 61 6e 64 20 20 | 31 20 72 65 70 72 65 73 | 0 and |1 repres|
|00002610| 65 6e 74 20 20 70 6f 73 | 69 74 69 76 65 20 61 6e |ent pos|itive an|
|00002620| 64 0a 6e 65 67 61 74 69 | 76 65 2c 20 72 65 73 70 |d.negati|ve, resp|
|00002630| 65 63 74 69 76 65 6c 79 | 2e 20 20 4f 6e 65 20 62 |ectively|. One b|
|00002640| 69 74 2e 0a 58 2e 49 50 | 20 5c 66 42 45 5c 66 50 |it..X.IP| \fBE\fP|
|00002650| 3a 0a 54 68 65 20 65 78 | 70 6f 6e 65 6e 74 20 6f |:.The ex|ponent o|
|00002660| 66 20 74 68 65 20 6e 75 | 6d 62 65 72 2c 20 62 61 |f the nu|mber, ba|
|00002670| 73 65 20 32 2e 20 20 38 | 20 20 62 69 74 73 20 61 |se 2. 8| bits a|
|00002680| 72 65 20 64 65 76 6f 74 | 65 64 20 74 6f 20 74 68 |re devot|ed to th|
|00002690| 69 73 0a 66 69 65 6c 64 | 2e 20 20 54 68 65 20 65 |is.field|. The e|
|000026a0| 78 70 6f 6e 65 6e 74 20 | 69 73 20 62 69 61 73 65 |xponent |is biase|
|000026b0| 64 20 62 79 20 31 32 37 | 2e 0a 58 2e 49 50 20 5c |d by 127|..X.IP \|
|000026c0| 66 42 46 5c 66 50 3a 0a | 54 68 65 20 66 72 61 63 |fBF\fP:.|The frac|
|000026d0| 74 69 6f 6e 61 6c 20 70 | 61 72 74 20 6f 66 20 74 |tional p|art of t|
|000026e0| 68 65 20 6e 75 6d 62 65 | 72 27 73 20 6d 61 6e 74 |he numbe|r's mant|
|000026f0| 69 73 73 61 2c 20 20 62 | 61 73 65 20 32 2e 20 20 |issa, b|ase 2. |
|00002700| 20 32 33 20 62 69 74 73 | 0a 61 72 65 20 64 65 76 | 23 bits|.are dev|
|00002710| 6f 74 65 64 20 74 6f 20 | 74 68 69 73 20 66 69 65 |oted to |this fie|
|00002720| 6c 64 2e 0a 58 2e 52 45 | 0a 58 2e 4c 50 0a 54 68 |ld..X.RE|.X.LP.Th|
|00002730| 65 72 65 66 6f 72 65 2c | 20 74 68 65 20 66 6c 6f |erefore,| the flo|
|00002740| 61 74 69 6e 67 2d 70 6f | 69 6e 74 20 6e 75 6d 62 |ating-po|int numb|
|00002750| 65 72 20 69 73 20 64 65 | 73 63 72 69 62 65 64 20 |er is de|scribed |
|00002760| 62 79 3a 0a 58 2e 44 53 | 0a 28 2d 31 29 2a 2a 53 |by:.X.DS|.(-1)**S|
|00002770| 20 2a 20 32 2a 2a 28 45 | 2d 42 69 61 73 29 20 2a | * 2**(E|-Bias) *|
|00002780| 20 31 2e 46 0a 58 2e 44 | 45 0a 49 74 20 69 73 20 | 1.F.X.D|E.It is |
|00002790| 64 65 63 6c 61 72 65 64 | 20 61 73 20 66 6f 6c 6c |declared| as foll|
|000027a0| 6f 77 73 3a 0a 58 2e 69 | 65 20 74 20 2e 44 53 0a |ows:.X.i|e t .DS.|
|000027b0| 58 2e 65 6c 20 2e 44 53 | 20 4c 0a 5c 66 49 53 69 |X.el .DS| L.\fISi|
|000027c0| 6e 67 6c 65 2d 50 72 65 | 63 69 73 69 6f 6e 20 46 |ngle-Pre|cision F|
|000027d0| 6c 6f 61 74 69 6e 67 2d | 50 6f 69 6e 74 5c 66 50 |loating-|Point\fP|
|000027e0| 0a 0a 5c 66 28 43 57 2b | 2d 2d 2d 2d 2d 2d 2d 2b |..\f(CW+|-------+|
|000027f0| 2d 2d 2d 2d 2d 2d 2d 2b | 2d 2d 2d 2d 2d 2d 2d 2b |-------+|-------+|
|00002800| 2d 2d 2d 2d 2d 2d 2d 2b | 0a 7c 62 79 74 65 20 30 |-------+|.|byte 0|
|00002810| 20 7c 62 79 74 65 20 31 | 20 7c 62 79 74 65 20 32 | |byte 1| |byte 2|
|00002820| 20 7c 62 79 74 65 20 33 | 20 7c 0a 53 7c 20 20 20 | |byte 3| |.S| |
|00002830| 45 20 20 20 7c 20 20 20 | 20 20 20 20 20 20 20 20 |E | | |
|00002840| 46 20 20 20 20 20 20 20 | 20 20 20 7c 0a 2b 2d 2d |F | |.+--|
|00002850| 2d 2d 2d 2d 2d 2b 2d 2d | 2d 2d 2d 2d 2d 2b 2d 2d |-----+--|-----+--|
|00002860| 2d 2d 2d 2d 2d 2b 2d 2d | 2d 2d 2d 2d 2d 2b 0a 31 |-----+--|-----+.1|
|00002870| 7c 3c 2d 20 38 20 2d 3e | 7c 3c 2d 2d 2d 2d 2d 2d ||<- 8 ->||<------|
|00002880| 2d 32 33 20 62 69 74 73 | 2d 2d 2d 2d 2d 2d 3e 7c |-23 bits|------>||
|00002890| 0a 3c 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 33 32 |.<------|------32|
|000028a0| 20 62 69 74 73 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d | bits---|--------|
|000028b0| 2d 3e 5c 66 50 0a 58 2e | 44 45 0a 4a 75 73 74 20 |->\fP.X.|DE.Just |
|000028c0| 61 73 20 74 68 65 20 6d | 6f 73 74 20 61 6e 64 20 |as the m|ost and |
|000028d0| 6c 65 61 73 74 20 73 69 | 67 6e 69 66 69 63 61 6e |least si|gnifican|
|000028e0| 74 20 62 79 74 65 73 20 | 6f 66 20 61 20 6e 75 6d |t bytes |of a num|
|000028f0| 62 65 72 20 61 72 65 20 | 30 20 61 6e 64 20 33 2c |ber are |0 and 3,|
|00002900| 0a 74 68 65 20 6d 6f 73 | 74 20 61 6e 64 20 6c 65 |.the mos|t and le|
|00002910| 61 73 74 20 73 69 67 6e | 69 66 69 63 61 6e 74 20 |ast sign|ificant |
|00002920| 62 69 74 73 20 6f 66 20 | 61 20 73 69 6e 67 6c 65 |bits of |a single|
|00002930| 2d 70 72 65 63 69 73 69 | 6f 6e 20 66 6c 6f 61 74 |-precisi|on float|
|00002940| 69 6e 67 2d 0a 70 6f 69 | 6e 74 20 6e 75 6d 62 65 |ing-.poi|nt numbe|
|00002950| 72 20 61 72 65 20 30 20 | 61 6e 64 20 33 31 2e 20 |r are 0 |and 31. |
|00002960| 20 54 68 65 20 62 65 67 | 69 6e 6e 69 6e 67 20 62 | The beg|inning b|
|00002970| 69 74 20 28 61 6e 64 20 | 6d 6f 73 74 20 73 69 67 |it (and |most sig|
|00002980| 6e 69 66 69 63 61 6e 74 | 0a 62 69 74 29 20 6f 66 |nificant|.bit) of|
|00002990| 66 73 65 74 73 20 6f 66 | 20 53 2c 20 45 2c 20 61 |fsets of| S, E, a|
|000029a0| 6e 64 20 46 20 61 72 65 | 20 30 2c 20 31 2c 20 61 |nd F are| 0, 1, a|
|000029b0| 6e 64 20 39 2c 20 72 65 | 73 70 65 63 74 69 76 65 |nd 9, re|spective|
|000029c0| 6c 79 2e 20 20 4e 6f 74 | 65 20 74 68 61 74 0a 74 |ly. Not|e that.t|
|000029d0| 68 65 73 65 20 6e 75 6d | 62 65 72 73 20 72 65 66 |hese num|bers ref|
|000029e0| 65 72 20 74 6f 20 74 68 | 65 20 6d 61 74 68 65 6d |er to th|e mathem|
|000029f0| 61 74 69 63 61 6c 20 70 | 6f 73 69 74 69 6f 6e 73 |atical p|ositions|
|00002a00| 20 6f 66 20 74 68 65 20 | 62 69 74 73 2c 20 61 6e | of the |bits, an|
|00002a10| 64 0a 4e 4f 54 20 74 6f | 20 74 68 65 69 72 20 61 |d.NOT to| their a|
|00002a20| 63 74 75 61 6c 20 70 68 | 79 73 69 63 61 6c 20 6c |ctual ph|ysical l|
|00002a30| 6f 63 61 74 69 6f 6e 73 | 20 28 77 68 69 63 68 20 |ocations| (which |
|00002a40| 76 61 72 79 20 66 72 6f | 6d 20 6d 65 64 69 75 6d |vary fro|m medium|
|00002a50| 20 74 6f 0a 6d 65 64 69 | 75 6d 29 2e 0a 58 2e 4c | to.medi|um)..X.L|
|00002a60| 50 0a 54 68 65 20 49 45 | 45 45 20 73 70 65 63 69 |P.The IE|EE speci|
|00002a70| 66 69 63 61 74 69 6f 6e | 73 20 73 68 6f 75 6c 64 |fication|s should|
|00002a80| 20 62 65 20 63 6f 6e 73 | 75 6c 74 65 64 20 63 6f | be cons|ulted co|
|00002a90| 6e 63 65 72 6e 69 6e 67 | 20 74 68 65 20 65 6e 63 |ncerning| the enc|
|00002aa0| 6f 64 69 6e 67 0a 66 6f | 72 20 73 69 67 6e 65 64 |oding.fo|r signed|
|00002ab0| 20 7a 65 72 6f 2c 20 73 | 69 67 6e 65 64 20 69 6e | zero, s|igned in|
|00002ac0| 66 69 6e 69 74 79 20 28 | 6f 76 65 72 66 6c 6f 77 |finity (|overflow|
|00002ad0| 29 2c 20 61 6e 64 20 64 | 65 6e 6f 72 6d 61 6c 69 |), and d|enormali|
|00002ae0| 7a 65 64 20 6e 75 6d 62 | 65 72 73 0a 28 75 6e 64 |zed numb|ers.(und|
|00002af0| 65 72 66 6c 6f 77 29 20 | 5b 33 5d 2e 20 20 41 63 |erflow) |[3]. Ac|
|00002b00| 63 6f 72 64 69 6e 67 20 | 74 6f 20 49 45 45 45 20 |cording |to IEEE |
|00002b10| 73 70 65 63 69 66 69 63 | 61 74 69 6f 6e 73 2c 20 |specific|ations, |
|00002b20| 74 68 65 20 22 4e 61 4e | 22 20 28 6e 6f 74 20 61 |the "NaN|" (not a|
|00002b30| 0a 6e 75 6d 62 65 72 29 | 20 69 73 20 73 79 73 74 |.number)| is syst|
|00002b40| 65 6d 20 64 65 70 65 6e | 64 65 6e 74 20 61 6e 64 |em depen|dent and|
|00002b50| 20 73 68 6f 75 6c 64 20 | 6e 6f 74 20 62 65 20 75 | should |not be u|
|00002b60| 73 65 64 20 65 78 74 65 | 72 6e 61 6c 6c 79 2e 0a |sed exte|rnally..|
|00002b70| 58 2e 4e 48 20 32 0a 5c | 26 44 6f 75 62 6c 65 2d |X.NH 2.\|&Double-|
|00002b80| 70 72 65 63 69 73 69 6f | 6e 20 46 6c 6f 61 74 69 |precisio|n Floati|
|00002b90| 6e 67 2d 70 6f 69 6e 74 | 0a 58 2e 49 58 20 58 44 |ng-point|.X.IX XD|
|00002ba0| 52 20 22 69 6e 74 65 67 | 65 72 2c 20 64 6f 75 62 |R "integ|er, doub|
|00002bb0| 6c 65 2d 70 72 65 63 69 | 73 69 6f 6e 20 66 6c 6f |le-preci|sion flo|
|00002bc0| 61 74 69 6e 67 20 70 6f | 69 6e 74 22 0a 58 2e 49 |ating po|int".X.I|
|00002bd0| 58 20 58 44 52 20 22 64 | 6f 75 62 6c 65 2d 70 72 |X XDR "d|ouble-pr|
|00002be0| 65 63 69 73 69 6f 6e 20 | 66 6c 6f 61 74 69 6e 67 |ecision |floating|
|00002bf0| 2d 70 6f 69 6e 74 20 69 | 6e 74 65 67 65 72 22 0a |-point i|nteger".|
|00002c00| 58 2e 4c 50 0a 54 68 65 | 20 73 74 61 6e 64 61 72 |X.LP.The| standar|
|00002c10| 64 20 64 65 66 69 6e 65 | 73 20 74 68 65 20 65 6e |d define|s the en|
|00002c20| 63 6f 64 69 6e 67 20 66 | 6f 72 20 74 68 65 20 64 |coding f|or the d|
|00002c30| 6f 75 62 6c 65 2d 70 72 | 65 63 69 73 69 6f 6e 20 |ouble-pr|ecision |
|00002c40| 66 6c 6f 61 74 69 6e 67 | 2d 0a 70 6f 69 6e 74 20 |floating|-.point |
|00002c50| 64 61 74 61 20 74 79 70 | 65 20 22 64 6f 75 62 6c |data typ|e "doubl|
|00002c60| 65 22 20 28 36 34 20 62 | 69 74 73 20 6f 72 20 38 |e" (64 b|its or 8|
|00002c70| 20 62 79 74 65 73 29 2e | 20 20 54 68 65 20 65 6e | bytes).| The en|
|00002c80| 63 6f 64 69 6e 67 20 75 | 73 65 64 20 69 73 0a 74 |coding u|sed is.t|
|00002c90| 68 65 20 49 45 45 45 20 | 73 74 61 6e 64 61 72 64 |he IEEE |standard|
|00002ca0| 20 66 6f 72 20 6e 6f 72 | 6d 61 6c 69 7a 65 64 20 | for nor|malized |
|00002cb0| 64 6f 75 62 6c 65 2d 70 | 72 65 63 69 73 69 6f 6e |double-p|recision|
|00002cc0| 20 66 6c 6f 61 74 69 6e | 67 2d 70 6f 69 6e 74 0a | floatin|g-point.|
|00002cd0| 6e 75 6d 62 65 72 73 20 | 5b 33 5d 2e 20 20 54 68 |numbers |[3]. Th|
|00002ce0| 65 20 73 74 61 6e 64 61 | 72 64 20 65 6e 63 6f 64 |e standa|rd encod|
|00002cf0| 65 73 20 74 68 65 20 66 | 6f 6c 6c 6f 77 69 6e 67 |es the f|ollowing|
|00002d00| 20 74 68 72 65 65 20 66 | 69 65 6c 64 73 2c 20 77 | three f|ields, w|
|00002d10| 68 69 63 68 0a 64 65 73 | 63 72 69 62 65 20 74 68 |hich.des|cribe th|
|00002d20| 65 20 64 6f 75 62 6c 65 | 2d 70 72 65 63 69 73 69 |e double|-precisi|
|00002d30| 6f 6e 20 66 6c 6f 61 74 | 69 6e 67 2d 70 6f 69 6e |on float|ing-poin|
|00002d40| 74 20 6e 75 6d 62 65 72 | 3a 0a 58 2e 52 53 0a 58 |t number|:.X.RS.X|
|00002d50| 2e 49 50 20 5c 66 42 53 | 5c 66 50 3a 0a 54 68 65 |.IP \fBS|\fP:.The|
|00002d60| 20 73 69 67 6e 20 6f 66 | 20 74 68 65 20 6e 75 6d | sign of| the num|
|00002d70| 62 65 72 2e 20 20 56 61 | 6c 75 65 73 20 20 30 20 |ber. Va|lues 0 |
|00002d80| 61 6e 64 20 31 20 20 72 | 65 70 72 65 73 65 6e 74 |and 1 r|epresent|
|00002d90| 20 70 6f 73 69 74 69 76 | 65 20 61 6e 64 0a 6e 65 | positiv|e and.ne|
|00002da0| 67 61 74 69 76 65 2c 20 | 72 65 73 70 65 63 74 69 |gative, |respecti|
|00002db0| 76 65 6c 79 2e 20 20 4f | 6e 65 20 62 69 74 2e 0a |vely. O|ne bit..|
|00002dc0| 58 2e 49 50 20 5c 66 42 | 45 5c 66 50 3a 0a 54 68 |X.IP \fB|E\fP:.Th|
|00002dd0| 65 20 65 78 70 6f 6e 65 | 6e 74 20 6f 66 20 74 68 |e expone|nt of th|
|00002de0| 65 20 6e 75 6d 62 65 72 | 2c 20 62 61 73 65 20 32 |e number|, base 2|
|00002df0| 2e 20 20 31 31 20 62 69 | 74 73 20 61 72 65 20 64 |. 11 bi|ts are d|
|00002e00| 65 76 6f 74 65 64 20 74 | 6f 20 74 68 69 73 0a 66 |evoted t|o this.f|
|00002e10| 69 65 6c 64 2e 20 20 54 | 68 65 20 65 78 70 6f 6e |ield. T|he expon|
|00002e20| 65 6e 74 20 69 73 20 62 | 69 61 73 65 64 20 62 79 |ent is b|iased by|
|00002e30| 20 31 30 32 33 2e 0a 58 | 2e 49 50 20 5c 66 42 46 | 1023..X|.IP \fBF|
|00002e40| 5c 66 50 3a 0a 54 68 65 | 20 66 72 61 63 74 69 6f |\fP:.The| fractio|
|00002e50| 6e 61 6c 20 70 61 72 74 | 20 6f 66 20 74 68 65 20 |nal part| of the |
|00002e60| 6e 75 6d 62 65 72 27 73 | 20 20 6d 61 6e 74 69 73 |number's| mantis|
|00002e70| 73 61 2c 20 62 61 73 65 | 20 32 2e 20 20 20 35 32 |sa, base| 2. 52|
|00002e80| 20 62 69 74 73 0a 61 72 | 65 20 64 65 76 6f 74 65 | bits.ar|e devote|
|00002e90| 64 20 74 6f 20 74 68 69 | 73 20 66 69 65 6c 64 2e |d to thi|s field.|
|00002ea0| 0a 58 2e 52 45 0a 58 2e | 4c 50 0a 54 68 65 72 65 |.X.RE.X.|LP.There|
|00002eb0| 66 6f 72 65 2c 20 74 68 | 65 20 66 6c 6f 61 74 69 |fore, th|e floati|
|00002ec0| 6e 67 2d 70 6f 69 6e 74 | 20 6e 75 6d 62 65 72 20 |ng-point| number |
|00002ed0| 69 73 20 64 65 73 63 72 | 69 62 65 64 20 62 79 3a |is descr|ibed by:|
|00002ee0| 0a 58 2e 44 53 0a 28 2d | 31 29 2a 2a 53 20 2a 20 |.X.DS.(-|1)**S * |
|00002ef0| 32 2a 2a 28 45 2d 42 69 | 61 73 29 20 2a 20 31 2e |2**(E-Bi|as) * 1.|
|00002f00| 46 0a 58 2e 44 45 0a 49 | 74 20 69 73 20 64 65 63 |F.X.DE.I|t is dec|
|00002f10| 6c 61 72 65 64 20 61 73 | 20 66 6f 6c 6c 6f 77 73 |lared as| follows|
|00002f20| 3a 0a 58 2e 69 65 20 74 | 20 2e 44 53 0a 58 2e 65 |:.X.ie t| .DS.X.e|
|00002f30| 6c 20 2e 44 53 20 4c 0a | 5c 66 49 44 6f 75 62 6c |l .DS L.|\fIDoubl|
|00002f40| 65 2d 50 72 65 63 69 73 | 69 6f 6e 20 46 6c 6f 61 |e-Precis|ion Floa|
|00002f50| 74 69 6e 67 2d 50 6f 69 | 6e 74 5c 66 50 0a 0a 5c |ting-Poi|nt\fP..\|
|00002f60| 66 28 43 57 2b 2d 2d 2d | 2d 2d 2d 2b 2d 2d 2d 2d |f(CW+---|---+----|
|00002f70| 2d 2d 2b 2d 2d 2d 2d 2d | 2d 2b 2d 2d 2d 2d 2d 2d |--+-----|-+------|
|00002f80| 2b 2d 2d 2d 2d 2d 2d 2b | 2d 2d 2d 2d 2d 2d 2b 2d |+------+|------+-|
|00002f90| 2d 2d 2d 2d 2d 2b 2d 2d | 2d 2d 2d 2d 2b 0a 7c 62 |-----+--|----+.|b|
|00002fa0| 79 74 65 20 30 7c 62 79 | 74 65 20 31 7c 62 79 74 |yte 0|by|te 1|byt|
|00002fb0| 65 20 32 7c 62 79 74 65 | 20 33 7c 62 79 74 65 20 |e 2|byte| 3|byte |
|00002fc0| 34 7c 62 79 74 65 20 35 | 7c 62 79 74 65 20 36 7c |4|byte 5||byte 6||
|00002fd0| 62 79 74 65 20 37 7c 0a | 53 7c 20 20 20 20 45 20 |byte 7|.|S| E |
|00002fe0| 20 20 7c 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |
|00002ff0| 20 20 20 20 20 20 20 46 | 20 20 20 20 20 20 20 20 | F| |
|00003000| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003010| 7c 0a 2b 2d 2d 2d 2d 2d | 2d 2b 2d 2d 2d 2d 2d 2d ||.+-----|-+------|
|00003020| 2b 2d 2d 2d 2d 2d 2d 2b | 2d 2d 2d 2d 2d 2d 2b 2d |+------+|------+-|
|00003030| 2d 2d 2d 2d 2d 2b 2d 2d | 2d 2d 2d 2d 2b 2d 2d 2d |-----+--|----+---|
|00003040| 2d 2d 2d 2b 2d 2d 2d 2d | 2d 2d 2b 0a 31 7c 3c 2d |---+----|--+.1|<-|
|00003050| 2d 31 31 2d 2d 3e 7c 3c | 2d 2d 2d 2d 2d 2d 2d 2d |-11-->|<|--------|
|00003060| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 35 32 20 62 69 74 73 |--------|-52 bits|
|00003070| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003080| 2d 2d 2d 3e 7c 0a 3c 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--->|.<-|--------|
|00003090| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 36 34 |--------|------64|
|000030a0| 20 62 69 74 73 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d | bits---|--------|
|000030b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 3e 5c |--------|------>\|
|000030c0| 66 50 0a 58 2e 44 45 0a | 4a 75 73 74 20 61 73 20 |fP.X.DE.|Just as |
|000030d0| 74 68 65 20 6d 6f 73 74 | 20 61 6e 64 20 6c 65 61 |the most| and lea|
|000030e0| 73 74 20 73 69 67 6e 69 | 66 69 63 61 6e 74 20 62 |st signi|ficant b|
|000030f0| 79 74 65 73 20 6f 66 20 | 61 20 6e 75 6d 62 65 72 |ytes of |a number|
|00003100| 20 61 72 65 20 30 20 61 | 6e 64 20 33 2c 0a 74 68 | are 0 a|nd 3,.th|
|00003110| 65 20 6d 6f 73 74 20 61 | 6e 64 20 6c 65 61 73 74 |e most a|nd least|
|00003120| 20 73 69 67 6e 69 66 69 | 63 61 6e 74 20 62 69 74 | signifi|cant bit|
|00003130| 73 20 6f 66 20 61 20 64 | 6f 75 62 6c 65 2d 70 72 |s of a d|ouble-pr|
|00003140| 65 63 69 73 69 6f 6e 20 | 66 6c 6f 61 74 69 6e 67 |ecision |floating|
|00003150| 2d 0a 70 6f 69 6e 74 20 | 6e 75 6d 62 65 72 20 61 |-.point |number a|
|00003160| 72 65 20 30 20 61 6e 64 | 20 36 33 2e 20 20 54 68 |re 0 and| 63. Th|
|00003170| 65 20 62 65 67 69 6e 6e | 69 6e 67 20 62 69 74 20 |e beginn|ing bit |
|00003180| 28 61 6e 64 20 6d 6f 73 | 74 20 73 69 67 6e 69 66 |(and mos|t signif|
|00003190| 69 63 61 6e 74 0a 62 69 | 74 29 20 6f 66 66 73 65 |icant.bi|t) offse|
|000031a0| 74 73 20 6f 66 20 53 2c | 20 45 20 2c 20 61 6e 64 |ts of S,| E , and|
|000031b0| 20 46 20 61 72 65 20 30 | 2c 20 31 2c 20 61 6e 64 | F are 0|, 1, and|
|000031c0| 20 31 32 2c 20 72 65 73 | 70 65 63 74 69 76 65 6c | 12, res|pectivel|
|000031d0| 79 2e 20 20 4e 6f 74 65 | 0a 74 68 61 74 20 74 68 |y. Note|.that th|
|000031e0| 65 73 65 20 6e 75 6d 62 | 65 72 73 20 72 65 66 65 |ese numb|ers refe|
|000031f0| 72 20 74 6f 20 74 68 65 | 20 6d 61 74 68 65 6d 61 |r to the| mathema|
|00003200| 74 69 63 61 6c 20 70 6f | 73 69 74 69 6f 6e 73 20 |tical po|sitions |
|00003210| 6f 66 20 74 68 65 20 62 | 69 74 73 2c 0a 61 6e 64 |of the b|its,.and|
|00003220| 20 4e 4f 54 20 74 6f 20 | 74 68 65 69 72 20 61 63 | NOT to |their ac|
|00003230| 74 75 61 6c 20 70 68 79 | 73 69 63 61 6c 20 6c 6f |tual phy|sical lo|
|00003240| 63 61 74 69 6f 6e 73 20 | 28 77 68 69 63 68 20 76 |cations |(which v|
|00003250| 61 72 79 20 66 72 6f 6d | 20 6d 65 64 69 75 6d 20 |ary from| medium |
|00003260| 74 6f 0a 6d 65 64 69 75 | 6d 29 2e 0a 58 2e 4c 50 |to.mediu|m)..X.LP|
|00003270| 0a 54 68 65 20 49 45 45 | 45 20 73 70 65 63 69 66 |.The IEE|E specif|
|00003280| 69 63 61 74 69 6f 6e 73 | 20 73 68 6f 75 6c 64 20 |ications| should |
|00003290| 62 65 20 63 6f 6e 73 75 | 6c 74 65 64 20 63 6f 6e |be consu|lted con|
|000032a0| 63 65 72 6e 69 6e 67 20 | 74 68 65 20 65 6e 63 6f |cerning |the enco|
|000032b0| 64 69 6e 67 0a 66 6f 72 | 20 73 69 67 6e 65 64 20 |ding.for| signed |
|000032c0| 7a 65 72 6f 2c 20 73 69 | 67 6e 65 64 20 69 6e 66 |zero, si|gned inf|
|000032d0| 69 6e 69 74 79 20 28 6f | 76 65 72 66 6c 6f 77 29 |inity (o|verflow)|
|000032e0| 2c 20 61 6e 64 20 64 65 | 6e 6f 72 6d 61 6c 69 7a |, and de|normaliz|
|000032f0| 65 64 20 6e 75 6d 62 65 | 72 73 0a 28 75 6e 64 65 |ed numbe|rs.(unde|
|00003300| 72 66 6c 6f 77 29 20 5b | 33 5d 2e 20 20 41 63 63 |rflow) [|3]. Acc|
|00003310| 6f 72 64 69 6e 67 20 74 | 6f 20 49 45 45 45 20 73 |ording t|o IEEE s|
|00003320| 70 65 63 69 66 69 63 61 | 74 69 6f 6e 73 2c 20 74 |pecifica|tions, t|
|00003330| 68 65 20 22 4e 61 4e 22 | 20 28 6e 6f 74 20 61 0a |he "NaN"| (not a.|
|00003340| 6e 75 6d 62 65 72 29 20 | 69 73 20 73 79 73 74 65 |number) |is syste|
|00003350| 6d 20 64 65 70 65 6e 64 | 65 6e 74 20 61 6e 64 20 |m depend|ent and |
|00003360| 73 68 6f 75 6c 64 20 6e | 6f 74 20 62 65 20 75 73 |should n|ot be us|
|00003370| 65 64 20 65 78 74 65 72 | 6e 61 6c 6c 79 2e 0a 58 |ed exter|nally..X|
|00003380| 2e 4e 48 20 32 0a 5c 26 | 46 69 78 65 64 2d 6c 65 |.NH 2.\&|Fixed-le|
|00003390| 6e 67 74 68 20 4f 70 61 | 71 75 65 20 44 61 74 61 |ngth Opa|que Data|
|000033a0| 0a 58 2e 49 58 20 58 44 | 52 20 22 66 69 78 65 64 |.X.IX XD|R "fixed|
|000033b0| 2d 6c 65 6e 67 74 68 20 | 6f 70 61 71 75 65 20 64 |-length |opaque d|
|000033c0| 61 74 61 22 0a 58 2e 49 | 58 20 58 44 52 20 22 6f |ata".X.I|X XDR "o|
|000033d0| 70 61 71 75 65 20 64 61 | 74 61 2c 20 66 69 78 65 |paque da|ta, fixe|
|000033e0| 64 20 6c 65 6e 67 74 68 | 22 0a 58 2e 4c 50 0a 41 |d length|".X.LP.A|
|000033f0| 74 20 74 69 6d 65 73 2c | 20 66 69 78 65 64 2d 6c |t times,| fixed-l|
|00003400| 65 6e 67 74 68 20 75 6e | 69 6e 74 65 72 70 72 65 |ength un|interpre|
|00003410| 74 65 64 20 64 61 74 61 | 20 6e 65 65 64 73 20 74 |ted data| needs t|
|00003420| 6f 20 62 65 20 70 61 73 | 73 65 64 20 61 6d 6f 6e |o be pas|sed amon|
|00003430| 67 0a 6d 61 63 68 69 6e | 65 73 2e 20 20 54 68 69 |g.machin|es. Thi|
|00003440| 73 20 64 61 74 61 20 69 | 73 20 63 61 6c 6c 65 64 |s data i|s called|
|00003450| 20 22 6f 70 61 71 75 65 | 22 20 61 6e 64 20 69 73 | "opaque|" and is|
|00003460| 20 64 65 63 6c 61 72 65 | 64 20 61 73 20 66 6f 6c | declare|d as fol|
|00003470| 6c 6f 77 73 3a 0a 58 2e | 44 53 0a 58 2e 66 74 20 |lows:.X.|DS.X.ft |
|00003480| 43 57 0a 6f 70 61 71 75 | 65 20 69 64 65 6e 74 69 |CW.opaqu|e identi|
|00003490| 66 69 65 72 5b 6e 5d 3b | 0a 58 2e 44 45 0a 77 68 |fier[n];|.X.DE.wh|
|000034a0| 65 72 65 20 74 68 65 20 | 63 6f 6e 73 74 61 6e 74 |ere the |constant|
|000034b0| 20 6e 20 69 73 20 74 68 | 65 20 28 73 74 61 74 69 | n is th|e (stati|
|000034c0| 63 29 20 6e 75 6d 62 65 | 72 20 6f 66 20 62 79 74 |c) numbe|r of byt|
|000034d0| 65 73 20 6e 65 63 65 73 | 73 61 72 79 20 74 6f 0a |es neces|sary to.|
|000034e0| 63 6f 6e 74 61 69 6e 20 | 74 68 65 20 6f 70 61 71 |contain |the opaq|
|000034f0| 75 65 20 64 61 74 61 2e | 20 20 49 66 20 6e 20 69 |ue data.| If n i|
|00003500| 73 20 6e 6f 74 20 61 20 | 6d 75 6c 74 69 70 6c 65 |s not a |multiple|
|00003510| 20 6f 66 20 66 6f 75 72 | 2c 20 74 68 65 6e 20 74 | of four|, then t|
|00003520| 68 65 20 6e 0a 62 79 74 | 65 73 20 61 72 65 20 66 |he n.byt|es are f|
|00003530| 6f 6c 6c 6f 77 65 64 20 | 62 79 20 65 6e 6f 75 67 |ollowed |by enoug|
|00003540| 68 20 28 30 20 74 6f 20 | 33 29 20 72 65 73 69 64 |h (0 to |3) resid|
|00003550| 75 61 6c 20 7a 65 72 6f | 20 62 79 74 65 73 2c 20 |ual zero| bytes, |
|00003560| 72 2c 20 74 6f 20 6d 61 | 6b 65 0a 74 68 65 20 74 |r, to ma|ke.the t|
|00003570| 6f 74 61 6c 20 62 79 74 | 65 20 63 6f 75 6e 74 20 |otal byt|e count |
|00003580| 6f 66 20 74 68 65 20 6f | 70 61 71 75 65 20 6f 62 |of the o|paque ob|
|00003590| 6a 65 63 74 20 61 20 6d | 75 6c 74 69 70 6c 65 20 |ject a m|ultiple |
|000035a0| 6f 66 20 66 6f 75 72 2e | 0a 58 2e 69 65 20 74 20 |of four.|.X.ie t |
|000035b0| 2e 44 53 0a 58 2e 65 6c | 20 2e 44 53 20 4c 0a 5c |.DS.X.el| .DS L.\|
|000035c0| 66 49 46 69 78 65 64 2d | 4c 65 6e 67 74 68 20 4f |fIFixed-|Length O|
|000035d0| 70 61 71 75 65 5c 66 50 | 0a 0a 5c 66 28 43 57 30 |paque\fP|..\f(CW0|
|000035e0| 20 20 20 20 20 20 20 20 | 31 20 20 20 20 20 2e 2e | |1 ..|
|000035f0| 2e 0a 2b 2d 2d 2d 2d 2d | 2d 2d 2d 2b 2d 2d 2d 2d |..+-----|---+----|
|00003600| 2d 2d 2d 2d 2b 2e 2e 2e | 2b 2d 2d 2d 2d 2d 2d 2d |----+...|+-------|
|00003610| 2d 2b 2d 2d 2d 2d 2d 2d | 2d 2d 2b 2e 2e 2e 2b 2d |-+------|--+...+-|
|00003620| 2d 2d 2d 2d 2d 2d 2d 2b | 0a 7c 20 62 79 74 65 20 |-------+|.| byte |
|00003630| 30 20 7c 20 62 79 74 65 | 20 31 20 7c 2e 2e 2e 7c |0 | byte| 1 |...||
|00003640| 62 79 74 65 20 6e 2d 31 | 7c 20 20 20 20 30 20 20 |byte n-1|| 0 |
|00003650| 20 7c 2e 2e 2e 7c 20 20 | 20 20 30 20 20 20 7c 0a | |...| | 0 |.|
|00003660| 2b 2d 2d 2d 2d 2d 2d 2d | 2d 2b 2d 2d 2d 2d 2d 2d |+-------|-+------|
|00003670| 2d 2d 2b 2e 2e 2e 2b 2d | 2d 2d 2d 2d 2d 2d 2d 2b |--+...+-|-------+|
|00003680| 2d 2d 2d 2d 2d 2d 2d 2d | 2b 2e 2e 2e 2b 2d 2d 2d |--------|+...+---|
|00003690| 2d 2d 2d 2d 2d 2b 0a 7c | 3c 2d 2d 2d 2d 2d 2d 2d |-----+.||<-------|
|000036a0| 2d 2d 2d 2d 6e 20 62 79 | 74 65 73 2d 2d 2d 2d 2d |----n by|tes-----|
|000036b0| 2d 2d 2d 2d 2d 3e 7c 3c | 2d 2d 2d 2d 2d 2d 72 20 |----->|<|------r |
|000036c0| 62 79 74 65 73 2d 2d 2d | 2d 2d 2d 3e 7c 0a 7c 3c |bytes---|--->|.|<|
|000036d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 6e 2b 72 20 28 |--------|---n+r (|
|000036e0| 77 68 65 72 65 20 28 6e | 2b 72 29 20 6d 6f 64 20 |where (n|+r) mod |
|000036f0| 34 20 3d 20 30 29 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |4 = 0)--|--------|
|00003700| 2d 2d 3e 7c 5c 66 50 0a | 58 2e 44 45 0a 58 2e 4e |-->|\fP.|X.DE.X.N|
|00003710| 48 20 32 0a 5c 26 56 61 | 72 69 61 62 6c 65 2d 6c |H 2.\&Va|riable-l|
|00003720| 65 6e 67 74 68 20 4f 70 | 61 71 75 65 20 44 61 74 |ength Op|aque Dat|
|00003730| 61 0a 58 2e 49 58 20 58 | 44 52 20 22 76 61 72 69 |a.X.IX X|DR "vari|
|00003740| 61 62 6c 65 2d 6c 65 6e | 67 74 68 20 6f 70 61 71 |able-len|gth opaq|
|00003750| 75 65 20 64 61 74 61 22 | 0a 58 2e 49 58 20 58 44 |ue data"|.X.IX XD|
|00003760| 52 20 22 6f 70 61 71 75 | 65 20 64 61 74 61 2c 20 |R "opaqu|e data, |
|00003770| 76 61 72 69 61 62 6c 65 | 20 6c 65 6e 67 74 68 22 |variable| length"|
|00003780| 0a 58 2e 4c 50 0a 54 68 | 65 20 73 74 61 6e 64 61 |.X.LP.Th|e standa|
|00003790| 72 64 20 61 6c 73 6f 20 | 70 72 6f 76 69 64 65 73 |rd also |provides|
|000037a0| 20 66 6f 72 20 76 61 72 | 69 61 62 6c 65 2d 6c 65 | for var|iable-le|
|000037b0| 6e 67 74 68 20 28 63 6f | 75 6e 74 65 64 29 20 6f |ngth (co|unted) o|
|000037c0| 70 61 71 75 65 20 64 61 | 74 61 2c 0a 64 65 66 69 |paque da|ta,.defi|
|000037d0| 6e 65 64 20 61 73 20 61 | 20 73 65 71 75 65 6e 63 |ned as a| sequenc|
|000037e0| 65 20 6f 66 20 6e 20 28 | 6e 75 6d 62 65 72 65 64 |e of n (|numbered|
|000037f0| 20 30 20 74 68 72 6f 75 | 67 68 20 6e 2d 31 29 20 | 0 throu|gh n-1) |
|00003800| 61 72 62 69 74 72 61 72 | 79 20 62 79 74 65 73 0a |arbitrar|y bytes.|
|00003810| 74 6f 20 62 65 20 74 68 | 65 20 6e 75 6d 62 65 72 |to be th|e number|
|00003820| 20 6e 20 65 6e 63 6f 64 | 65 64 20 61 73 20 61 6e | n encod|ed as an|
|00003830| 20 75 6e 73 69 67 6e 65 | 64 20 69 6e 74 65 67 65 | unsigne|d intege|
|00003840| 72 20 28 61 73 20 64 65 | 73 63 72 69 62 65 64 0a |r (as de|scribed.|
|00003850| 62 65 6c 6f 77 29 2c 20 | 61 6e 64 20 66 6f 6c 6c |below), |and foll|
|00003860| 6f 77 65 64 20 62 79 20 | 74 68 65 20 6e 20 62 79 |owed by |the n by|
|00003870| 74 65 73 20 6f 66 20 74 | 68 65 20 73 65 71 75 65 |tes of t|he seque|
|00003880| 6e 63 65 2e 0a 58 2e 4c | 50 0a 42 79 74 65 20 6d |nce..X.L|P.Byte m|
|00003890| 20 6f 66 20 74 68 65 20 | 73 65 71 75 65 6e 63 65 | of the |sequence|
|000038a0| 20 61 6c 77 61 79 73 20 | 70 72 65 63 65 64 65 73 | always |precedes|
|000038b0| 20 62 79 74 65 20 6d 2b | 31 20 6f 66 20 74 68 65 | byte m+|1 of the|
|000038c0| 20 73 65 71 75 65 6e 63 | 65 2c 20 61 6e 64 0a 62 | sequenc|e, and.b|
|000038d0| 79 74 65 20 30 20 6f 66 | 20 74 68 65 20 73 65 71 |yte 0 of| the seq|
|000038e0| 75 65 6e 63 65 20 61 6c | 77 61 79 73 20 66 6f 6c |uence al|ways fol|
|000038f0| 6c 6f 77 73 20 74 68 65 | 20 73 65 71 75 65 6e 63 |lows the| sequenc|
|00003900| 65 27 73 20 6c 65 6e 67 | 74 68 20 28 63 6f 75 6e |e's leng|th (coun|
|00003910| 74 29 2e 0a 65 6e 6f 75 | 67 68 20 28 30 20 74 6f |t)..enou|gh (0 to|
|00003920| 20 33 29 20 72 65 73 69 | 64 75 61 6c 20 7a 65 72 | 3) resi|dual zer|
|00003930| 6f 20 62 79 74 65 73 2c | 20 72 2c 20 74 6f 20 6d |o bytes,| r, to m|
|00003940| 61 6b 65 20 74 68 65 20 | 74 6f 74 61 6c 20 62 79 |ake the |total by|
|00003950| 74 65 20 63 6f 75 6e 74 | 0a 61 20 6d 75 6c 74 69 |te count|.a multi|
|00003960| 70 6c 65 20 6f 66 20 66 | 6f 75 72 2e 20 20 56 61 |ple of f|our. Va|
|00003970| 72 69 61 62 6c 65 2d 6c | 65 6e 67 74 68 20 6f 70 |riable-l|ength op|
|00003980| 61 71 75 65 20 64 61 74 | 61 20 69 73 20 64 65 63 |aque dat|a is dec|
|00003990| 6c 61 72 65 64 20 69 6e | 20 74 68 65 0a 66 6f 6c |lared in| the.fol|
|000039a0| 6c 6f 77 69 6e 67 20 77 | 61 79 3a 0a 58 2e 44 53 |lowing w|ay:.X.DS|
|000039b0| 0a 58 2e 66 74 20 43 57 | 0a 6f 70 61 71 75 65 20 |.X.ft CW|.opaque |
|000039c0| 69 64 65 6e 74 69 66 69 | 65 72 3c 6d 3e 3b 0a 58 |identifi|er<m>;.X|
|000039d0| 2e 44 45 0a 6f 72 0a 58 | 2e 44 53 0a 58 2e 66 74 |.DE.or.X|.DS.X.ft|
|000039e0| 20 43 57 0a 6f 70 61 71 | 75 65 20 69 64 65 6e 74 | CW.opaq|ue ident|
|000039f0| 69 66 69 65 72 3c 3e 3b | 0a 58 2e 44 45 0a 54 68 |ifier<>;|.X.DE.Th|
|00003a00| 65 20 63 6f 6e 73 74 61 | 6e 74 20 6d 20 64 65 6e |e consta|nt m den|
|00003a10| 6f 74 65 73 20 61 6e 20 | 75 70 70 65 72 20 62 6f |otes an |upper bo|
|00003a20| 75 6e 64 20 6f 66 20 74 | 68 65 20 6e 75 6d 62 65 |und of t|he numbe|
|00003a30| 72 20 6f 66 20 62 79 74 | 65 73 20 74 68 61 74 20 |r of byt|es that |
|00003a40| 74 68 65 0a 73 65 71 75 | 65 6e 63 65 20 6d 61 79 |the.sequ|ence may|
|00003a50| 20 63 6f 6e 74 61 69 6e | 2e 20 20 49 66 20 6d 20 | contain|. If m |
|00003a60| 69 73 20 6e 6f 74 20 73 | 70 65 63 69 66 69 65 64 |is not s|pecified|
|00003a70| 2c 20 61 73 20 69 6e 20 | 74 68 65 20 73 65 63 6f |, as in |the seco|
|00003a80| 6e 64 0a 64 65 63 6c 61 | 72 61 74 69 6f 6e 2c 20 |nd.decla|ration, |
|00003a90| 69 74 20 69 73 20 61 73 | 73 75 6d 65 64 20 74 6f |it is as|sumed to|
|00003aa0| 20 62 65 20 28 32 2a 2a | 33 32 29 20 2d 20 31 2c | be (2**|32) - 1,|
|00003ab0| 20 74 68 65 20 6d 61 78 | 69 6d 75 6d 20 6c 65 6e | the max|imum len|
|00003ac0| 67 74 68 2e 0a 54 68 65 | 20 63 6f 6e 73 74 61 6e |gth..The| constan|
|00003ad0| 74 20 6d 20 77 6f 75 6c | 64 20 6e 6f 72 6d 61 6c |t m woul|d normal|
|00003ae0| 6c 79 20 62 65 20 66 6f | 75 6e 64 20 69 6e 20 61 |ly be fo|und in a|
|00003af0| 20 70 72 6f 74 6f 63 6f | 6c 20 73 70 65 63 69 66 | protoco|l specif|
|00003b00| 69 63 61 74 69 6f 6e 2e | 0a 46 6f 72 20 65 78 61 |ication.|.For exa|
|00003b10| 6d 70 6c 65 2c 20 61 20 | 66 69 6c 69 6e 67 20 70 |mple, a |filing p|
|00003b20| 72 6f 74 6f 63 6f 6c 20 | 6d 61 79 20 73 74 61 74 |rotocol |may stat|
|00003b30| 65 20 74 68 61 74 20 74 | 68 65 20 6d 61 78 69 6d |e that t|he maxim|
|00003b40| 75 6d 20 64 61 74 61 0a | 74 72 61 6e 73 66 65 72 |um data.|transfer|
|00003b50| 20 73 69 7a 65 20 69 73 | 20 38 31 39 32 20 62 79 | size is| 8192 by|
|00003b60| 74 65 73 2c 20 61 73 20 | 66 6f 6c 6c 6f 77 73 3a |tes, as |follows:|
|00003b70| 0a 58 2e 44 53 0a 58 2e | 66 74 20 43 57 0a 6f 70 |.X.DS.X.|ft CW.op|
|00003b80| 61 71 75 65 20 66 69 6c | 65 64 61 74 61 3c 38 31 |aque fil|edata<81|
|00003b90| 39 32 3e 3b 0a 58 2e 44 | 45 0a 54 68 69 73 20 63 |92>;.X.D|E.This c|
|00003ba0| 61 6e 20 62 65 20 69 6c | 6c 75 73 74 72 61 74 65 |an be il|lustrate|
|00003bb0| 64 20 61 73 20 66 6f 6c | 6c 6f 77 73 3a 0a 58 2e |d as fol|lows:.X.|
|00003bc0| 69 65 20 74 20 2e 44 53 | 0a 58 2e 65 6c 20 2e 44 |ie t .DS|.X.el .D|
|00003bd0| 53 20 4c 0a 5c 66 49 56 | 61 72 69 61 62 6c 65 2d |S L.\fIV|ariable-|
|00003be0| 4c 65 6e 67 74 68 20 4f | 70 61 71 75 65 5c 66 50 |Length O|paque\fP|
|00003bf0| 0a 0a 5c 66 28 43 57 30 | 20 20 20 20 20 31 20 20 |..\f(CW0| 1 |
|00003c00| 20 20 20 32 20 20 20 20 | 20 33 20 20 20 20 20 34 | 2 | 3 4|
|00003c10| 20 20 20 20 20 35 20 20 | 20 2e 2e 2e 0a 2b 2d 2d | 5 | ....+--|
|00003c20| 2d 2d 2d 2b 2d 2d 2d 2d | 2d 2b 2d 2d 2d 2d 2d 2b |---+----|-+-----+|
|00003c30| 2d 2d 2d 2d 2d 2b 2d 2d | 2d 2d 2d 2b 2d 2d 2d 2d |-----+--|---+----|
|00003c40| 2d 2b 2e 2e 2e 2b 2d 2d | 2d 2d 2d 2b 2d 2d 2d 2d |-+...+--|---+----|
|00003c50| 2d 2b 2e 2e 2e 2b 2d 2d | 2d 2d 2d 2b 0a 7c 20 20 |-+...+--|---+.| |
|00003c60| 20 20 20 20 20 20 6c 65 | 6e 67 74 68 20 6e 20 20 | le|ngth n |
|00003c70| 20 20 20 20 20 7c 62 79 | 74 65 30 7c 62 79 74 65 | |by|te0|byte|
|00003c80| 31 7c 2e 2e 2e 7c 20 6e | 2d 31 20 7c 20 20 30 20 |1|...| n|-1 | 0 |
|00003c90| 20 7c 2e 2e 2e 7c 20 20 | 30 20 20 7c 0a 2b 2d 2d | |...| |0 |.+--|
|00003ca0| 2d 2d 2d 2b 2d 2d 2d 2d | 2d 2b 2d 2d 2d 2d 2d 2b |---+----|-+-----+|
|00003cb0| 2d 2d 2d 2d 2d 2b 2d 2d | 2d 2d 2d 2b 2d 2d 2d 2d |-----+--|---+----|
|00003cc0| 2d 2b 2e 2e 2e 2b 2d 2d | 2d 2d 2d 2b 2d 2d 2d 2d |-+...+--|---+----|
|00003cd0| 2d 2b 2e 2e 2e 2b 2d 2d | 2d 2d 2d 2b 0a 7c 3c 2d |-+...+--|---+.|<-|
|00003ce0| 2d 2d 2d 2d 2d 2d 34 20 | 62 79 74 65 73 2d 2d 2d |------4 |bytes---|
|00003cf0| 2d 2d 2d 2d 3e 7c 3c 2d | 2d 2d 2d 2d 2d 6e 20 62 |---->|<-|-----n b|
|00003d00| 79 74 65 73 2d 2d 2d 2d | 2d 2d 3e 7c 3c 2d 2d 2d |ytes----|-->|<---|
|00003d10| 72 20 62 79 74 65 73 2d | 2d 2d 3e 7c 0a 7c 3c 2d |r bytes-|-->|.|<-|
|00003d20| 2d 2d 2d 6e 2b 72 20 28 | 77 68 65 72 65 20 28 6e |---n+r (|where (n|
|00003d30| 2b 72 29 20 6d 6f 64 20 | 34 20 3d 20 30 29 2d 2d |+r) mod |4 = 0)--|
|00003d40| 2d 2d 3e 7c 5c 66 50 0a | 58 2e 44 45 0a 58 2e 4c |-->|\fP.|X.DE.X.L|
|00003d50| 50 0a 49 74 20 20 20 69 | 73 20 20 61 6e 20 65 72 |P.It i|s an er|
|00003d60| 72 6f 72 20 20 74 6f 20 | 20 65 6e 63 6f 64 65 20 |ror to | encode |
|00003d70| 20 61 20 20 6c 65 6e 67 | 74 68 20 20 67 72 65 61 | a leng|th grea|
|00003d80| 74 65 72 20 20 74 68 61 | 6e 20 74 68 65 20 6d 61 |ter tha|n the ma|
|00003d90| 78 69 6d 75 6d 0a 64 65 | 73 63 72 69 62 65 64 20 |ximum.de|scribed |
|00003da0| 69 6e 20 74 68 65 20 73 | 70 65 63 69 66 69 63 61 |in the s|pecifica|
|00003db0| 74 69 6f 6e 2e 0a 58 2e | 4e 48 20 32 0a 5c 26 53 |tion..X.|NH 2.\&S|
|00003dc0| 74 72 69 6e 67 0a 58 2e | 49 58 20 58 44 52 20 73 |tring.X.|IX XDR s|
|00003dd0| 74 72 69 6e 67 0a 58 2e | 4c 50 0a 54 68 65 20 73 |tring.X.|LP.The s|
|00003de0| 74 61 6e 64 61 72 64 20 | 64 65 66 69 6e 65 73 20 |tandard |defines |
|00003df0| 61 20 73 74 72 69 6e 67 | 20 6f 66 20 6e 20 28 6e |a string| of n (n|
|00003e00| 75 6d 62 65 72 65 64 20 | 30 20 74 68 72 6f 75 67 |umbered |0 throug|
|00003e10| 68 20 6e 2d 31 29 20 41 | 53 43 49 49 0a 62 79 74 |h n-1) A|SCII.byt|
|00003e20| 65 73 20 74 6f 20 62 65 | 20 74 68 65 20 6e 75 6d |es to be| the num|
|00003e30| 62 65 72 20 6e 20 65 6e | 63 6f 64 65 64 20 61 73 |ber n en|coded as|
|00003e40| 20 61 6e 20 75 6e 73 69 | 67 6e 65 64 20 69 6e 74 | an unsi|gned int|
|00003e50| 65 67 65 72 20 28 61 73 | 20 64 65 73 63 72 69 62 |eger (as| describ|
|00003e60| 65 64 0a 61 62 6f 76 65 | 29 2c 20 61 6e 64 20 66 |ed.above|), and f|
|00003e70| 6f 6c 6c 6f 77 65 64 20 | 62 79 20 74 68 65 20 6e |ollowed |by the n|
|00003e80| 20 62 79 74 65 73 20 6f | 66 20 74 68 65 20 73 74 | bytes o|f the st|
|00003e90| 72 69 6e 67 2e 20 20 42 | 79 74 65 20 6d 20 6f 66 |ring. B|yte m of|
|00003ea0| 20 74 68 65 0a 73 74 72 | 69 6e 67 20 61 6c 77 61 | the.str|ing alwa|
|00003eb0| 79 73 20 70 72 65 63 65 | 64 65 73 20 62 79 74 65 |ys prece|des byte|
|00003ec0| 20 6d 2b 31 20 6f 66 20 | 74 68 65 20 73 74 72 69 | m+1 of |the stri|
|00003ed0| 6e 67 2c 20 61 6e 64 20 | 62 79 74 65 20 30 20 6f |ng, and |byte 0 o|
|00003ee0| 66 20 74 68 65 0a 73 74 | 72 69 6e 67 20 61 6c 77 |f the.st|ring alw|
|00003ef0| 61 79 73 20 66 6f 6c 6c | 6f 77 73 20 74 68 65 20 |ays foll|ows the |
|00003f00| 73 74 72 69 6e 67 27 73 | 20 6c 65 6e 67 74 68 2e |string's| length.|
|00003f10| 20 20 49 66 20 6e 20 69 | 73 20 6e 6f 74 20 61 20 | If n i|s not a |
|00003f20| 6d 75 6c 74 69 70 6c 65 | 20 6f 66 0a 66 6f 75 72 |multiple| of.four|
|00003f30| 2c 20 74 68 65 6e 20 74 | 68 65 20 6e 20 62 79 74 |, then t|he n byt|
|00003f40| 65 73 20 61 72 65 20 66 | 6f 6c 6c 6f 77 65 64 20 |es are f|ollowed |
|00003f50| 62 79 20 65 6e 6f 75 67 | 68 20 28 30 20 74 6f 20 |by enoug|h (0 to |
|00003f60| 33 29 20 72 65 73 69 64 | 75 61 6c 20 7a 65 72 6f |3) resid|ual zero|
|00003f70| 0a 62 79 74 65 73 2c 20 | 72 2c 20 74 6f 20 6d 61 |.bytes, |r, to ma|
|00003f80| 6b 65 20 74 68 65 20 74 | 6f 74 61 6c 20 62 79 74 |ke the t|otal byt|
|00003f90| 65 20 63 6f 75 6e 74 20 | 61 20 6d 75 6c 74 69 70 |e count |a multip|
|00003fa0| 6c 65 20 6f 66 20 66 6f | 75 72 2e 20 20 43 6f 75 |le of fo|ur. Cou|
|00003fb0| 6e 74 65 64 0a 62 79 74 | 65 20 73 74 72 69 6e 67 |nted.byt|e string|
|00003fc0| 73 20 61 72 65 20 64 65 | 63 6c 61 72 65 64 20 61 |s are de|clared a|
|00003fd0| 73 20 66 6f 6c 6c 6f 77 | 73 3a 0a 58 2e 44 53 0a |s follow|s:.X.DS.|
|00003fe0| 58 2e 66 74 20 43 57 0a | 73 74 72 69 6e 67 20 6f |X.ft CW.|string o|
|00003ff0| 62 6a 65 63 74 3c 6d 3e | 3b 0a 58 2e 44 45 0a 6f |bject<m>|;.X.DE.o|
|00004000| 72 0a 58 2e 44 53 0a 58 | 2e 66 74 20 43 57 0a 73 |r.X.DS.X|.ft CW.s|
|00004010| 74 72 69 6e 67 20 6f 62 | 6a 65 63 74 3c 3e 3b 0a |tring ob|ject<>;.|
|00004020| 58 2e 44 45 0a 54 68 65 | 20 63 6f 6e 73 74 61 6e |X.DE.The| constan|
|00004030| 74 20 6d 20 64 65 6e 6f | 74 65 73 20 61 6e 20 75 |t m deno|tes an u|
|00004040| 70 70 65 72 20 62 6f 75 | 6e 64 20 6f 66 20 74 68 |pper bou|nd of th|
|00004050| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 62 79 74 65 |e number| of byte|
|00004060| 73 20 74 68 61 74 20 61 | 0a 73 74 72 69 6e 67 20 |s that a|.string |
|00004070| 6d 61 79 20 63 6f 6e 74 | 61 69 6e 2e 20 20 49 66 |may cont|ain. If|
|00004080| 20 6d 20 69 73 20 6e 6f | 74 20 73 70 65 63 69 66 | m is no|t specif|
|00004090| 69 65 64 2c 20 61 73 20 | 69 6e 20 74 68 65 20 73 |ied, as |in the s|
|000040a0| 65 63 6f 6e 64 0a 64 65 | 63 6c 61 72 61 74 69 6f |econd.de|claratio|
|000040b0| 6e 2c 20 69 74 20 69 73 | 20 61 73 73 75 6d 65 64 |n, it is| assumed|
|000040c0| 20 74 6f 20 62 65 20 28 | 32 2a 2a 33 32 29 20 2d | to be (|2**32) -|
|000040d0| 20 31 2c 20 74 68 65 20 | 6d 61 78 69 6d 75 6d 20 | 1, the |maximum |
|000040e0| 6c 65 6e 67 74 68 2e 0a | 54 68 65 20 63 6f 6e 73 |length..|The cons|
|000040f0| 74 61 6e 74 20 6d 20 77 | 6f 75 6c 64 20 6e 6f 72 |tant m w|ould nor|
|00004100| 6d 61 6c 6c 79 20 62 65 | 20 66 6f 75 6e 64 20 69 |mally be| found i|
|00004110| 6e 20 61 20 70 72 6f 74 | 6f 63 6f 6c 20 73 70 65 |n a prot|ocol spe|
|00004120| 63 69 66 69 63 61 74 69 | 6f 6e 2e 0a 46 6f 72 20 |cificati|on..For |
|00004130| 65 78 61 6d 70 6c 65 2c | 20 61 20 66 69 6c 69 6e |example,| a filin|
|00004140| 67 20 70 72 6f 74 6f 63 | 6f 6c 20 6d 61 79 20 73 |g protoc|ol may s|
|00004150| 74 61 74 65 20 74 68 61 | 74 20 61 20 66 69 6c 65 |tate tha|t a file|
|00004160| 20 6e 61 6d 65 20 63 61 | 6e 20 62 65 20 6e 6f 0a | name ca|n be no.|
|00004170| 6c 6f 6e 67 65 72 20 74 | 68 61 6e 20 32 35 35 20 |longer t|han 255 |
|00004180| 62 79 74 65 73 2c 20 61 | 73 20 66 6f 6c 6c 6f 77 |bytes, a|s follow|
|00004190| 73 3a 0a 58 2e 44 53 0a | 58 2e 66 74 20 43 57 0a |s:.X.DS.|X.ft CW.|
|000041a0| 73 74 72 69 6e 67 20 66 | 69 6c 65 6e 61 6d 65 3c |string f|ilename<|
|000041b0| 32 35 35 3e 3b 0a 58 2e | 44 45 0a 57 68 69 63 68 |255>;.X.|DE.Which|
|000041c0| 20 63 61 6e 20 62 65 20 | 69 6c 6c 75 73 74 72 61 | can be |illustra|
|000041d0| 74 65 64 20 61 73 3a 0a | 58 2e 69 65 20 74 20 2e |ted as:.|X.ie t .|
|000041e0| 44 53 0a 58 2e 65 6c 20 | 2e 44 53 20 4c 0a 5c 66 |DS.X.el |.DS L.\f|
|000041f0| 49 41 20 53 74 72 69 6e | 67 5c 66 50 0a 0a 5c 66 |IA Strin|g\fP..\f|
|00004200| 28 43 57 30 20 20 20 20 | 20 31 20 20 20 20 20 32 |(CW0 | 1 2|
|00004210| 20 20 20 20 20 33 20 20 | 20 20 20 34 20 20 20 20 | 3 | 4 |
|00004220| 20 35 20 20 20 2e 2e 2e | 0a 2b 2d 2d 2d 2d 2d 2b | 5 ...|.+-----+|
|00004230| 2d 2d 2d 2d 2d 2b 2d 2d | 2d 2d 2d 2b 2d 2d 2d 2d |-----+--|---+----|
|00004240| 2d 2b 2d 2d 2d 2d 2d 2b | 2d 2d 2d 2d 2d 2b 2e 2e |-+-----+|-----+..|
|00004250| 2e 2b 2d 2d 2d 2d 2d 2b | 2d 2d 2d 2d 2d 2b 2e 2e |.+-----+|-----+..|
|00004260| 2e 2b 2d 2d 2d 2d 2d 2b | 0a 7c 20 20 20 20 20 20 |.+-----+|.| |
|00004270| 20 20 6c 65 6e 67 74 68 | 20 6e 20 20 20 20 20 20 | length| n |
|00004280| 20 7c 62 79 74 65 30 7c | 62 79 74 65 31 7c 2e 2e | |byte0||byte1|..|
|00004290| 2e 7c 20 6e 2d 31 20 7c | 20 20 30 20 20 7c 2e 2e |.| n-1 || 0 |..|
|000042a0| 2e 7c 20 20 30 20 20 7c | 0a 2b 2d 2d 2d 2d 2d 2b |.| 0 ||.+-----+|
|000042b0| 2d 2d 2d 2d 2d 2b 2d 2d | 2d 2d 2d 2b 2d 2d 2d 2d |-----+--|---+----|
|000042c0| 2d 2b 2d 2d 2d 2d 2d 2b | 2d 2d 2d 2d 2d 2b 2e 2e |-+-----+|-----+..|
|000042d0| 2e 2b 2d 2d 2d 2d 2d 2b | 2d 2d 2d 2d 2d 2b 2e 2e |.+-----+|-----+..|
|000042e0| 2e 2b 2d 2d 2d 2d 2d 2b | 0a 7c 3c 2d 2d 2d 2d 2d |.+-----+|.|<-----|
|000042f0| 2d 2d 34 20 62 79 74 65 | 73 2d 2d 2d 2d 2d 2d 2d |--4 byte|s-------|
|00004300| 3e 7c 3c 2d 2d 2d 2d 2d | 2d 6e 20 62 79 74 65 73 |>|<-----|-n bytes|
|00004310| 2d 2d 2d 2d 2d 2d 3e 7c | 3c 2d 2d 2d 72 20 62 79 |------>||<---r by|
|00004320| 74 65 73 2d 2d 2d 3e 7c | 0a 7c 3c 2d 2d 2d 2d 6e |tes--->||.|<----n|
|00004330| 2b 72 20 28 77 68 65 72 | 65 20 28 6e 2b 72 29 20 |+r (wher|e (n+r) |
|00004340| 6d 6f 64 20 34 20 3d 20 | 30 29 2d 2d 2d 2d 3e 7c |mod 4 = |0)---->||
|00004350| 5c 66 50 0a 58 2e 44 45 | 0a 58 2e 4c 50 0a 49 74 |\fP.X.DE|.X.LP.It|
|00004360| 20 20 20 69 73 20 61 6e | 20 20 65 72 72 6f 72 20 | is an| error |
|00004370| 20 74 6f 20 20 65 6e 63 | 6f 64 65 20 20 61 20 6c | to enc|ode a l|
|00004380| 65 6e 67 74 68 20 67 72 | 65 61 74 65 72 20 20 74 |ength gr|eater t|
|00004390| 68 61 6e 20 20 20 74 68 | 65 20 6d 61 78 69 6d 75 |han th|e maximu|
|000043a0| 6d 0a 64 65 73 63 72 69 | 62 65 64 20 69 6e 20 74 |m.descri|bed in t|
|000043b0| 68 65 20 73 70 65 63 69 | 66 69 63 61 74 69 6f 6e |he speci|fication|
|000043c0| 2e 0a 58 2e 4e 48 20 32 | 0a 5c 26 46 69 78 65 64 |..X.NH 2|.\&Fixed|
|000043d0| 2d 6c 65 6e 67 74 68 20 | 41 72 72 61 79 0a 58 2e |-length |Array.X.|
|000043e0| 49 58 20 58 44 52 20 22 | 66 69 78 65 64 2d 6c 65 |IX XDR "|fixed-le|
|000043f0| 6e 67 74 68 20 61 72 72 | 61 79 22 0a 58 2e 49 58 |ngth arr|ay".X.IX|
|00004400| 20 58 44 52 20 22 61 72 | 72 61 79 2c 20 66 69 78 | XDR "ar|ray, fix|
|00004410| 65 64 20 6c 65 6e 67 74 | 68 22 0a 58 2e 4c 50 0a |ed lengt|h".X.LP.|
|00004420| 44 65 63 6c 61 72 61 74 | 69 6f 6e 73 20 66 6f 72 |Declarat|ions for|
|00004430| 20 66 69 78 65 64 2d 6c | 65 6e 67 74 68 20 61 72 | fixed-l|ength ar|
|00004440| 72 61 79 73 20 6f 66 20 | 68 6f 6d 6f 67 65 6e 65 |rays of |homogene|
|00004450| 6f 75 73 20 65 6c 65 6d | 65 6e 74 73 20 61 72 65 |ous elem|ents are|
|00004460| 20 69 6e 0a 74 68 65 20 | 66 6f 6c 6c 6f 77 69 6e | in.the |followin|
|00004470| 67 20 66 6f 72 6d 3a 0a | 58 2e 44 53 0a 58 2e 66 |g form:.|X.DS.X.f|
|00004480| 74 20 43 57 0a 74 79 70 | 65 2d 6e 61 6d 65 20 69 |t CW.typ|e-name i|
|00004490| 64 65 6e 74 69 66 69 65 | 72 5b 6e 5d 3b 0a 58 2e |dentifie|r[n];.X.|
|000044a0| 44 45 0a 46 69 78 65 64 | 2d 6c 65 6e 67 74 68 20 |DE.Fixed|-length |
|000044b0| 61 72 72 61 79 73 20 6f | 66 20 65 6c 65 6d 65 6e |arrays o|f elemen|
|000044c0| 74 73 20 6e 75 6d 62 65 | 72 65 64 20 30 20 74 68 |ts numbe|red 0 th|
|000044d0| 72 6f 75 67 68 20 6e 2d | 31 20 61 72 65 20 65 6e |rough n-|1 are en|
|000044e0| 63 6f 64 65 64 20 62 79 | 0a 69 6e 64 69 76 69 64 |coded by|.individ|
|000044f0| 75 61 6c 6c 79 20 65 6e | 63 6f 64 69 6e 67 20 74 |ually en|coding t|
|00004500| 68 65 20 65 6c 65 6d 65 | 6e 74 73 20 6f 66 20 74 |he eleme|nts of t|
|00004510| 68 65 20 61 72 72 61 79 | 20 69 6e 20 74 68 65 69 |he array| in thei|
|00004520| 72 20 6e 61 74 75 72 61 | 6c 0a 6f 72 64 65 72 2c |r natura|l.order,|
|00004530| 20 30 20 74 68 72 6f 75 | 67 68 20 6e 2d 31 2e 20 | 0 throu|gh n-1. |
|00004540| 20 45 61 63 68 20 65 6c | 65 6d 65 6e 74 27 73 20 | Each el|ement's |
|00004550| 73 69 7a 65 20 69 73 20 | 61 20 6d 75 6c 74 69 70 |size is |a multip|
|00004560| 6c 65 20 6f 66 20 66 6f | 75 72 0a 62 79 74 65 73 |le of fo|ur.bytes|
|00004570| 2e 20 54 68 6f 75 67 68 | 20 61 6c 6c 20 65 6c 65 |. Though| all ele|
|00004580| 6d 65 6e 74 73 20 61 72 | 65 20 6f 66 20 74 68 65 |ments ar|e of the|
|00004590| 20 73 61 6d 65 20 74 79 | 70 65 2c 20 74 68 65 20 | same ty|pe, the |
|000045a0| 65 6c 65 6d 65 6e 74 73 | 20 6d 61 79 0a 68 61 76 |elements| may.hav|
|000045b0| 65 20 64 69 66 66 65 72 | 65 6e 74 20 73 69 7a 65 |e differ|ent size|
|000045c0| 73 2e 20 20 46 6f 72 20 | 65 78 61 6d 70 6c 65 2c |s. For |example,|
|000045d0| 20 69 6e 20 61 20 66 69 | 78 65 64 2d 6c 65 6e 67 | in a fi|xed-leng|
|000045e0| 74 68 20 61 72 72 61 79 | 20 6f 66 0a 73 74 72 69 |th array| of.stri|
|000045f0| 6e 67 73 2c 20 61 6c 6c | 20 65 6c 65 6d 65 6e 74 |ngs, all| element|
|00004600| 73 20 61 72 65 20 6f 66 | 20 74 79 70 65 20 22 73 |s are of| type "s|
|00004610| 74 72 69 6e 67 22 2c 20 | 79 65 74 20 65 61 63 68 |tring", |yet each|
|00004620| 20 65 6c 65 6d 65 6e 74 | 20 77 69 6c 6c 0a 76 61 | element| will.va|
|00004630| 72 79 20 69 6e 20 69 74 | 73 20 6c 65 6e 67 74 68 |ry in it|s length|
|00004640| 2e 0a 58 2e 69 65 20 74 | 20 2e 44 53 0a 58 2e 65 |..X.ie t| .DS.X.e|
|00004650| 6c 20 2e 44 53 20 4c 0a | 5c 66 49 46 69 78 65 64 |l .DS L.|\fIFixed|
|00004660| 2d 4c 65 6e 67 74 68 20 | 41 72 72 61 79 5c 66 50 |-Length |Array\fP|
|00004670| 0a 0a 5c 66 28 43 57 2b | 2d 2d 2d 2b 2d 2d 2d 2b |..\f(CW+|---+---+|
|00004680| 2d 2d 2d 2b 2d 2d 2d 2b | 2d 2d 2d 2b 2d 2d 2d 2b |---+---+|---+---+|
|00004690| 2d 2d 2d 2b 2d 2d 2d 2b | 2e 2e 2e 2b 2d 2d 2d 2b |---+---+|...+---+|
|000046a0| 2d 2d 2d 2b 2d 2d 2d 2b | 2d 2d 2d 2b 0a 7c 20 20 |---+---+|---+.| |
|000046b0| 20 65 6c 65 6d 65 6e 74 | 20 30 20 20 20 7c 20 20 | element| 0 | |
|000046c0| 20 65 6c 65 6d 65 6e 74 | 20 31 20 20 20 7c 2e 2e | element| 1 |..|
|000046d0| 2e 7c 20 20 65 6c 65 6d | 65 6e 74 20 6e 2d 31 20 |.| elem|ent n-1 |
|000046e0| 20 7c 0a 2b 2d 2d 2d 2b | 2d 2d 2d 2b 2d 2d 2d 2b | |.+---+|---+---+|
|000046f0| 2d 2d 2d 2b 2d 2d 2d 2b | 2d 2d 2d 2b 2d 2d 2d 2b |---+---+|---+---+|
|00004700| 2d 2d 2d 2b 2e 2e 2e 2b | 2d 2d 2d 2b 2d 2d 2d 2b |---+...+|---+---+|
|00004710| 2d 2d 2d 2b 2d 2d 2d 2b | 0a 7c 3c 2d 2d 2d 2d 2d |---+---+|.|<-----|
|00004720| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 6e |--------|-------n|
|00004730| 20 65 6c 65 6d 65 6e 74 | 73 2d 2d 2d 2d 2d 2d 2d | element|s-------|
|00004740| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 3e 7c 5c 66 |--------|---->|\f|
|00004750| 50 0a 58 2e 44 45 0a 58 | 2e 4e 48 20 32 0a 5c 26 |P.X.DE.X|.NH 2.\&|
|00004760| 56 61 72 69 61 62 6c 65 | 2d 6c 65 6e 67 74 68 20 |Variable|-length |
|00004770| 41 72 72 61 79 0a 58 2e | 49 58 20 58 44 52 20 22 |Array.X.|IX XDR "|
|00004780| 76 61 72 69 61 62 6c 65 | 2d 6c 65 6e 67 74 68 20 |variable|-length |
|00004790| 61 72 72 61 79 22 0a 58 | 2e 49 58 20 58 44 52 20 |array".X|.IX XDR |
|000047a0| 22 61 72 72 61 79 2c 20 | 76 61 72 69 61 62 6c 65 |"array, |variable|
|000047b0| 20 6c 65 6e 67 74 68 22 | 0a 58 2e 4c 50 0a 43 6f | length"|.X.LP.Co|
|000047c0| 75 6e 74 65 64 20 61 72 | 72 61 79 73 20 70 72 6f |unted ar|rays pro|
|000047d0| 76 69 64 65 20 74 68 65 | 20 61 62 69 6c 69 74 79 |vide the| ability|
|000047e0| 20 74 6f 20 65 6e 63 6f | 64 65 20 76 61 72 69 61 | to enco|de varia|
|000047f0| 62 6c 65 2d 6c 65 6e 67 | 74 68 20 61 72 72 61 79 |ble-leng|th array|
|00004800| 73 0a 6f 66 20 68 6f 6d | 6f 67 65 6e 65 6f 75 73 |s.of hom|ogeneous|
|00004810| 20 65 6c 65 6d 65 6e 74 | 73 2e 20 20 54 68 65 20 | element|s. The |
|00004820| 61 72 72 61 79 20 69 73 | 20 65 6e 63 6f 64 65 64 |array is| encoded|
|00004830| 20 61 73 20 74 68 65 20 | 65 6c 65 6d 65 6e 74 20 | as the |element |
|00004840| 63 6f 75 6e 74 20 6e 0a | 28 61 6e 20 75 6e 73 69 |count n.|(an unsi|
|00004850| 67 6e 65 64 20 69 6e 74 | 65 67 65 72 29 20 66 6f |gned int|eger) fo|
|00004860| 6c 6c 6f 77 65 64 20 62 | 79 20 74 68 65 20 65 6e |llowed b|y the en|
|00004870| 63 6f 64 69 6e 67 20 6f | 66 20 65 61 63 68 20 6f |coding o|f each o|
|00004880| 66 20 74 68 65 20 61 72 | 72 61 79 27 73 0a 65 6c |f the ar|ray's.el|
|00004890| 65 6d 65 6e 74 73 2c 20 | 73 74 61 72 74 69 6e 67 |ements, |starting|
|000048a0| 20 77 69 74 68 20 65 6c | 65 6d 65 6e 74 20 30 20 | with el|ement 0 |
|000048b0| 61 6e 64 20 70 72 6f 67 | 72 65 73 73 69 6e 67 20 |and prog|ressing |
|000048c0| 74 68 72 6f 75 67 68 20 | 65 6c 65 6d 65 6e 74 20 |through |element |
|000048d0| 6e 2d 0a 31 2e 20 20 54 | 68 65 20 64 65 63 6c 61 |n-.1. T|he decla|
|000048e0| 72 61 74 69 6f 6e 20 66 | 6f 72 20 76 61 72 69 61 |ration f|or varia|
|000048f0| 62 6c 65 2d 6c 65 6e 67 | 74 68 20 61 72 72 61 79 |ble-leng|th array|
|00004900| 73 20 66 6f 6c 6c 6f 77 | 73 20 74 68 69 73 20 66 |s follow|s this f|
|00004910| 6f 72 6d 3a 0a 58 2e 44 | 53 0a 58 2e 66 74 20 43 |orm:.X.D|S.X.ft C|
|00004920| 57 0a 74 79 70 65 2d 6e | 61 6d 65 20 69 64 65 6e |W.type-n|ame iden|
|00004930| 74 69 66 69 65 72 3c 6d | 3e 3b 0a 58 2e 44 45 0a |tifier<m|>;.X.DE.|
|00004940| 6f 72 0a 58 2e 44 53 0a | 58 2e 66 74 20 43 57 0a |or.X.DS.|X.ft CW.|
|00004950| 74 79 70 65 2d 6e 61 6d | 65 20 69 64 65 6e 74 69 |type-nam|e identi|
|00004960| 66 69 65 72 3c 3e 3b 0a | 58 2e 44 45 0a 54 68 65 |fier<>;.|X.DE.The|
|00004970| 20 63 6f 6e 73 74 61 6e | 74 20 6d 20 73 70 65 63 | constan|t m spec|
|00004980| 69 66 69 65 73 20 74 68 | 65 20 6d 61 78 69 6d 75 |ifies th|e maximu|
|00004990| 6d 20 61 63 63 65 70 74 | 61 62 6c 65 20 65 6c 65 |m accept|able ele|
|000049a0| 6d 65 6e 74 20 63 6f 75 | 6e 74 20 6f 66 20 61 6e |ment cou|nt of an|
|000049b0| 0a 61 72 72 61 79 3b 20 | 69 66 20 20 6d 20 69 73 |.array; |if m is|
|000049c0| 20 6e 6f 74 20 73 70 65 | 63 69 66 69 65 64 2c 20 | not spe|cified, |
|000049d0| 61 73 20 20 69 6e 20 74 | 68 65 20 73 65 63 6f 6e |as in t|he secon|
|000049e0| 64 20 64 65 63 6c 61 72 | 61 74 69 6f 6e 2c 20 69 |d declar|ation, i|
|000049f0| 74 20 69 73 0a 61 73 73 | 75 6d 65 64 20 74 6f 20 |t is.ass|umed to |
|00004a00| 62 65 20 28 32 2a 2a 33 | 32 29 20 2d 20 31 2e 0a |be (2**3|2) - 1..|
|00004a10| 58 2e 69 65 20 74 20 2e | 44 53 0a 58 2e 65 6c 20 |X.ie t .|DS.X.el |
|00004a20| 2e 44 53 20 4c 0a 5c 66 | 49 43 6f 75 6e 74 65 64 |.DS L.\f|ICounted|
|00004a30| 20 41 72 72 61 79 5c 66 | 50 0a 0a 5c 66 28 43 57 | Array\f|P..\f(CW|
|00004a40| 30 20 20 31 20 20 32 20 | 20 33 0a 2b 2d 2d 2b 2d |0 1 2 | 3.+--+-|
|00004a50| 2d 2b 2d 2d 2b 2d 2d 2b | 2d 2d 2b 2d 2d 2b 2d 2d |-+--+--+|--+--+--|
|00004a60| 2b 2d 2d 2b 2d 2d 2b 2d | 2d 2b 2d 2d 2b 2d 2d 2b |+--+--+-|-+--+--+|
|00004a70| 2e 2e 2e 2b 2d 2d 2b 2d | 2d 2b 2d 2d 2b 2d 2d 2b |...+--+-|-+--+--+|
|00004a80| 0a 7c 20 20 20 20 20 6e | 20 20 20 20 20 7c 20 65 |.| n| | e|
|00004a90| 6c 65 6d 65 6e 74 20 30 | 20 7c 20 65 6c 65 6d 65 |lement 0| | eleme|
|00004aa0| 6e 74 20 31 20 7c 2e 2e | 2e 7c 65 6c 65 6d 65 6e |nt 1 |..|.|elemen|
|00004ab0| 74 20 6e 2d 31 7c 0a 2b | 2d 2d 2b 2d 2d 2b 2d 2d |t n-1|.+|--+--+--|
|00004ac0| 2b 2d 2d 2b 2d 2d 2b 2d | 2d 2b 2d 2d 2b 2d 2d 2b |+--+--+-|-+--+--+|
|00004ad0| 2d 2d 2b 2d 2d 2b 2d 2d | 2b 2d 2d 2b 2e 2e 2e 2b |--+--+--|+--+...+|
|00004ae0| 2d 2d 2b 2d 2d 2b 2d 2d | 2b 2d 2d 2b 0a 7c 3c 2d |--+--+--|+--+.|<-|
|00004af0| 34 20 62 79 74 65 73 2d | 3e 7c 3c 2d 2d 2d 2d 2d |4 bytes-|>|<-----|
|00004b00| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 6e 20 65 6c 65 6d 65 |--------|-n eleme|
|00004b10| 6e 74 73 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |nts-----|--------|
|00004b20| 3e 7c 5c 66 50 0a 58 2e | 44 45 0a 49 74 20 69 73 |>|\fP.X.|DE.It is|
|00004b30| 20 20 61 6e 20 65 72 72 | 6f 72 20 74 6f 20 20 65 | an err|or to e|
|00004b40| 6e 63 6f 64 65 20 20 61 | 20 20 76 61 6c 75 65 20 |ncode a| value |
|00004b50| 6f 66 20 6e 20 74 68 61 | 74 20 20 69 73 20 67 72 |of n tha|t is gr|
|00004b60| 65 61 74 65 72 20 74 68 | 61 6e 20 74 68 65 0a 6d |eater th|an the.m|
|00004b70| 61 78 69 6d 75 6d 20 64 | 65 73 63 72 69 62 65 64 |aximum d|escribed|
|00004b80| 20 69 6e 20 74 68 65 20 | 73 70 65 63 69 66 69 63 | in the |specific|
|00004b90| 61 74 69 6f 6e 2e 0a 58 | 2e 4e 48 20 32 0a 5c 26 |ation..X|.NH 2.\&|
|00004ba0| 53 74 72 75 63 74 75 72 | 65 0a 58 2e 49 58 20 58 |Structur|e.X.IX X|
|00004bb0| 44 52 20 73 74 72 75 63 | 74 75 72 65 0a 58 2e 4c |DR struc|ture.X.L|
|00004bc0| 50 0a 53 74 72 75 63 74 | 75 72 65 73 20 61 72 65 |P.Struct|ures are|
|00004bd0| 20 64 65 63 6c 61 72 65 | 64 20 61 73 20 66 6f 6c | declare|d as fol|
|00004be0| 6c 6f 77 73 3a 0a 58 2e | 44 53 0a 58 2e 66 74 20 |lows:.X.|DS.X.ft |
|00004bf0| 43 57 0a 73 74 72 75 63 | 74 20 7b 0a 09 63 6f 6d |CW.struc|t {..com|
|00004c00| 70 6f 6e 65 6e 74 2d 64 | 65 63 6c 61 72 61 74 69 |ponent-d|eclarati|
|00004c10| 6f 6e 2d 41 3b 0a 09 63 | 6f 6d 70 6f 6e 65 6e 74 |on-A;..c|omponent|
|00004c20| 2d 64 65 63 6c 61 72 61 | 74 69 6f 6e 2d 42 3b 0a |-declara|tion-B;.|
|00004c30| 09 5c 26 2e 2e 2e 0a 7d | 20 69 64 65 6e 74 69 66 |.\&....}| identif|
|00004c40| 69 65 72 3b 0a 58 2e 44 | 45 0a 54 68 65 20 63 6f |ier;.X.D|E.The co|
|00004c50| 6d 70 6f 6e 65 6e 74 73 | 20 6f 66 20 74 68 65 20 |mponents| of the |
|00004c60| 73 74 72 75 63 74 75 72 | 65 20 61 72 65 20 65 6e |structur|e are en|
|00004c70| 63 6f 64 65 64 20 69 6e | 20 74 68 65 20 6f 72 64 |coded in| the ord|
|00004c80| 65 72 20 6f 66 20 74 68 | 65 69 72 0a 64 65 63 6c |er of th|eir.decl|
|00004c90| 61 72 61 74 69 6f 6e 20 | 69 6e 20 74 68 65 20 73 |aration |in the s|
|00004ca0| 74 72 75 63 74 75 72 65 | 2e 20 20 45 61 63 68 20 |tructure|. Each |
|00004cb0| 63 6f 6d 70 6f 6e 65 6e | 74 27 73 20 73 69 7a 65 |componen|t's size|
|00004cc0| 20 69 73 20 61 20 6d 75 | 6c 74 69 70 6c 65 20 6f | is a mu|ltiple o|
|00004cd0| 66 0a 66 6f 75 72 20 62 | 79 74 65 73 2c 20 74 68 |f.four b|ytes, th|
|00004ce0| 6f 75 67 68 20 74 68 65 | 20 63 6f 6d 70 6f 6e 65 |ough the| compone|
|00004cf0| 6e 74 73 20 6d 61 79 20 | 62 65 20 64 69 66 66 65 |nts may |be diffe|
|00004d00| 72 65 6e 74 20 73 69 7a | 65 73 2e 0a 58 2e 69 65 |rent siz|es..X.ie|
|00004d10| 20 74 20 2e 44 53 0a 58 | 2e 65 6c 20 2e 44 53 20 | t .DS.X|.el .DS |
|00004d20| 4c 0a 5c 66 49 53 74 72 | 75 63 74 75 72 65 5c 66 |L.\fIStr|ucture\f|
|00004d30| 50 0a 0a 5c 66 28 43 57 | 2b 2d 2d 2d 2d 2d 2d 2d |P..\f(CW|+-------|
|00004d40| 2d 2d 2d 2d 2d 2d 2b 2d | 2d 2d 2d 2d 2d 2d 2d 2d |------+-|--------|
|00004d50| 2d 2d 2d 2d 2b 2e 2e 2e | 0a 7c 20 63 6f 6d 70 6f |----+...|.| compo|
|00004d60| 6e 65 6e 74 20 41 20 7c | 20 63 6f 6d 70 6f 6e 65 |nent A || compone|
|00004d70| 6e 74 20 42 20 7c 2e 2e | 2e 0a 2b 2d 2d 2d 2d 2d |nt B |..|..+-----|
|00004d80| 2d 2d 2d 2d 2d 2d 2d 2d | 2b 2d 2d 2d 2d 2d 2d 2d |--------|+-------|
|00004d90| 2d 2d 2d 2d 2d 2d 2b 2e | 2e 2e 5c 66 50 0a 58 2e |------+.|..\fP.X.|
|00004da0| 44 45 0a 58 2e 4e 48 20 | 32 0a 5c 26 44 69 73 63 |DE.X.NH |2.\&Disc|
|00004db0| 72 69 6d 69 6e 61 74 65 | 64 20 55 6e 69 6f 6e 0a |riminate|d Union.|
|00004dc0| 58 2e 49 58 20 58 44 52 | 20 22 64 69 73 63 72 69 |X.IX XDR| "discri|
|00004dd0| 6d 69 6e 61 74 65 64 20 | 75 6e 69 6f 6e 22 0a 58 |minated |union".X|
|00004de0| 2e 49 58 20 58 44 52 20 | 75 6e 69 6f 6e 20 64 69 |.IX XDR |union di|
|00004df0| 73 63 72 69 6d 69 6e 61 | 74 65 64 0a 58 2e 4c 50 |scrimina|ted.X.LP|
|00004e00| 0a 41 20 64 69 73 63 72 | 69 6d 69 6e 61 74 65 64 |.A discr|iminated|
|00004e10| 20 75 6e 69 6f 6e 20 69 | 73 20 61 20 74 79 70 65 | union i|s a type|
|00004e20| 20 63 6f 6d 70 6f 73 65 | 64 20 6f 66 20 61 20 64 | compose|d of a d|
|00004e30| 69 73 63 72 69 6d 69 6e | 61 6e 74 20 66 6f 6c 6c |iscrimin|ant foll|
|00004e40| 6f 77 65 64 0a 62 79 20 | 61 20 74 79 70 65 20 73 |owed.by |a type s|
|00004e50| 65 6c 65 63 74 65 64 20 | 66 72 6f 6d 20 61 20 73 |elected |from a s|
|00004e60| 65 74 20 6f 66 20 70 72 | 65 61 72 72 61 6e 67 65 |et of pr|earrange|
|00004e70| 64 20 74 79 70 65 73 20 | 61 63 63 6f 72 64 69 6e |d types |accordin|
|00004e80| 67 20 74 6f 20 74 68 65 | 0a 76 61 6c 75 65 20 6f |g to the|.value o|
|00004e90| 66 20 74 68 65 20 64 69 | 73 63 72 69 6d 69 6e 61 |f the di|scrimina|
|00004ea0| 6e 74 2e 20 20 54 68 65 | 20 74 79 70 65 20 6f 66 |nt. The| type of|
|00004eb0| 20 64 69 73 63 72 69 6d | 69 6e 61 6e 74 20 69 73 | discrim|inant is|
|00004ec0| 20 65 69 74 68 65 72 20 | 22 69 6e 74 22 2c 0a 22 | either |"int",."|
|00004ed0| 75 6e 73 69 67 6e 65 64 | 20 69 6e 74 22 2c 20 6f |unsigned| int", o|
|00004ee0| 72 20 61 6e 20 65 6e 75 | 6d 65 72 61 74 65 64 20 |r an enu|merated |
|00004ef0| 74 79 70 65 2c 20 73 75 | 63 68 20 61 73 20 22 62 |type, su|ch as "b|
|00004f00| 6f 6f 6c 22 2e 20 20 54 | 68 65 20 63 6f 6d 70 6f |ool". T|he compo|
|00004f10| 6e 65 6e 74 0a 74 79 70 | 65 73 20 61 72 65 20 63 |nent.typ|es are c|
|00004f20| 61 6c 6c 65 64 20 22 61 | 72 6d 73 22 20 6f 66 20 |alled "a|rms" of |
|00004f30| 74 68 65 20 75 6e 69 6f | 6e 2c 20 61 6e 64 20 61 |the unio|n, and a|
|00004f40| 72 65 20 70 72 65 63 65 | 64 65 64 20 62 79 20 74 |re prece|ded by t|
|00004f50| 68 65 20 76 61 6c 75 65 | 0a 6f 66 20 74 68 65 20 |he value|.of the |
|00004f60| 64 69 73 63 72 69 6d 69 | 6e 61 6e 74 20 77 68 69 |discrimi|nant whi|
|00004f70| 63 68 20 69 6d 70 6c 69 | 65 73 20 74 68 65 69 72 |ch impli|es their|
|00004f80| 20 65 6e 63 6f 64 69 6e | 67 2e 20 20 44 69 73 63 | encodin|g. Disc|
|00004f90| 72 69 6d 69 6e 61 74 65 | 64 0a 75 6e 69 6f 6e 73 |riminate|d.unions|
|00004fa0| 20 61 72 65 20 64 65 63 | 6c 61 72 65 64 20 61 73 | are dec|lared as|
|00004fb0| 20 66 6f 6c 6c 6f 77 73 | 3a 0a 58 2e 44 53 0a 58 | follows|:.X.DS.X|
|00004fc0| 2e 66 74 20 43 57 0a 75 | 6e 69 6f 6e 20 73 77 69 |.ft CW.u|nion swi|
|00004fd0| 74 63 68 20 28 64 69 73 | 63 72 69 6d 69 6e 61 6e |tch (dis|criminan|
|00004fe0| 74 2d 64 65 63 6c 61 72 | 61 74 69 6f 6e 29 20 7b |t-declar|ation) {|
|00004ff0| 0a 09 63 61 73 65 20 64 | 69 73 63 72 69 6d 69 6e |..case d|iscrimin|
|00005000| 61 6e 74 2d 76 61 6c 75 | 65 2d 41 3a 0a 09 61 72 |ant-valu|e-A:..ar|
|00005010| 6d 2d 64 65 63 6c 61 72 | 61 74 69 6f 6e 2d 41 3b |m-declar|ation-A;|
|00005020| 0a 09 63 61 73 65 20 64 | 69 73 63 72 69 6d 69 6e |..case d|iscrimin|
|00005030| 61 6e 74 2d 76 61 6c 75 | 65 2d 42 3a 0a 09 61 72 |ant-valu|e-B:..ar|
|00005040| 6d 2d 64 65 63 6c 61 72 | 61 74 69 6f 6e 2d 42 3b |m-declar|ation-B;|
|00005050| 0a 09 5c 26 2e 2e 2e 0a | 09 64 65 66 61 75 6c 74 |..\&....|.default|
|00005060| 3a 20 64 65 66 61 75 6c | 74 2d 64 65 63 6c 61 72 |: defaul|t-declar|
|00005070| 61 74 69 6f 6e 3b 0a 7d | 20 69 64 65 6e 74 69 66 |ation;.}| identif|
|00005080| 69 65 72 3b 0a 58 2e 44 | 45 0a 45 61 63 68 20 22 |ier;.X.D|E.Each "|
|00005090| 63 61 73 65 22 20 6b 65 | 79 77 6f 72 64 20 69 73 |case" ke|yword is|
|000050a0| 20 66 6f 6c 6c 6f 77 65 | 64 20 62 79 20 61 20 6c | followe|d by a l|
|000050b0| 65 67 61 6c 20 76 61 6c | 75 65 20 6f 66 20 74 68 |egal val|ue of th|
|000050c0| 65 20 64 69 73 63 72 69 | 6d 69 6e 61 6e 74 2e 0a |e discri|minant..|
|000050d0| 54 68 65 20 64 65 66 61 | 75 6c 74 20 61 72 6d 20 |The defa|ult arm |
|000050e0| 69 73 20 6f 70 74 69 6f | 6e 61 6c 2e 20 20 49 66 |is optio|nal. If|
|000050f0| 20 69 74 20 69 73 20 6e | 6f 74 20 73 70 65 63 69 | it is n|ot speci|
|00005100| 66 69 65 64 2c 20 74 68 | 65 6e 20 61 20 76 61 6c |fied, th|en a val|
|00005110| 69 64 0a 65 6e 63 6f 64 | 69 6e 67 20 6f 66 20 74 |id.encod|ing of t|
|00005120| 68 65 20 75 6e 69 6f 6e | 20 63 61 6e 6e 6f 74 20 |he union| cannot |
|00005130| 74 61 6b 65 20 6f 6e 20 | 75 6e 73 70 65 63 69 66 |take on |unspecif|
|00005140| 69 65 64 20 64 69 73 63 | 72 69 6d 69 6e 61 6e 74 |ied disc|riminant|
|00005150| 20 76 61 6c 75 65 73 2e | 0a 54 68 65 20 73 69 7a | values.|.The siz|
|00005160| 65 20 6f 66 20 74 68 65 | 20 69 6d 70 6c 69 65 64 |e of the| implied|
|00005170| 20 61 72 6d 20 69 73 20 | 61 6c 77 61 79 73 20 61 | arm is |always a|
|00005180| 20 6d 75 6c 74 69 70 6c | 65 20 6f 66 20 66 6f 75 | multipl|e of fou|
|00005190| 72 20 62 79 74 65 73 2e | 0a 58 2e 4c 50 0a 54 68 |r bytes.|.X.LP.Th|
|000051a0| 65 20 64 69 73 63 72 69 | 6d 69 6e 61 74 65 64 20 |e discri|minated |
|000051b0| 75 6e 69 6f 6e 20 69 73 | 20 65 6e 63 6f 64 65 64 |union is| encoded|
|000051c0| 20 61 73 20 69 74 73 20 | 64 69 73 63 72 69 6d 69 | as its |discrimi|
|000051d0| 6e 61 6e 74 20 66 6f 6c | 6c 6f 77 65 64 20 62 79 |nant fol|lowed by|
|000051e0| 0a 74 68 65 20 65 6e 63 | 6f 64 69 6e 67 20 6f 66 |.the enc|oding of|
|000051f0| 20 74 68 65 20 69 6d 70 | 6c 69 65 64 20 61 72 6d | the imp|lied arm|
|00005200| 2e 0a 58 2e 69 65 20 74 | 20 2e 44 53 0a 58 2e 65 |..X.ie t| .DS.X.e|
|00005210| 6c 20 2e 44 53 20 4c 0a | 5c 66 49 44 69 73 63 72 |l .DS L.|\fIDiscr|
|00005220| 69 6d 69 6e 61 74 65 64 | 20 55 6e 69 6f 6e 5c 66 |iminated| Union\f|
|00005230| 50 0a 0a 5c 66 28 43 57 | 30 20 20 20 31 20 20 20 |P..\f(CW|0 1 |
|00005240| 32 20 20 20 33 0a 2b 2d | 2d 2d 2b 2d 2d 2d 2b 2d |2 3.+-|--+---+-|
|00005250| 2d 2d 2b 2d 2d 2d 2b 2d | 2d 2d 2b 2d 2d 2d 2b 2d |--+---+-|--+---+-|
|00005260| 2d 2d 2b 2d 2d 2d 2b 0a | 7c 20 20 64 69 73 63 72 |--+---+.|| discr|
|00005270| 69 6d 69 6e 61 6e 74 20 | 7c 20 20 69 6d 70 6c 69 |iminant || impli|
|00005280| 65 64 20 61 72 6d 20 20 | 7c 0a 2b 2d 2d 2d 2b 2d |ed arm ||.+---+-|
|00005290| 2d 2d 2b 2d 2d 2d 2b 2d | 2d 2d 2b 2d 2d 2d 2b 2d |--+---+-|--+---+-|
|000052a0| 2d 2d 2b 2d 2d 2d 2b 2d | 2d 2d 2b 0a 7c 3c 2d 2d |--+---+-|--+.|<--|
|000052b0| 2d 34 20 62 79 74 65 73 | 2d 2d 2d 3e 7c 5c 66 50 |-4 bytes|--->|\fP|
|000052c0| 0a 58 2e 44 45 0a 58 2e | 4e 48 20 32 0a 5c 26 56 |.X.DE.X.|NH 2.\&V|
|000052d0| 6f 69 64 0a 58 2e 49 58 | 20 58 44 52 20 76 6f 69 |oid.X.IX| XDR voi|
|000052e0| 64 0a 58 2e 4c 50 0a 41 | 6e 20 58 44 52 20 76 6f |d.X.LP.A|n XDR vo|
|000052f0| 69 64 20 69 73 20 61 20 | 30 2d 62 79 74 65 20 71 |id is a |0-byte q|
|00005300| 75 61 6e 74 69 74 79 2e | 20 20 56 6f 69 64 73 20 |uantity.| Voids |
|00005310| 61 72 65 20 75 73 65 66 | 75 6c 20 66 6f 72 20 64 |are usef|ul for d|
|00005320| 65 73 63 72 69 62 69 6e | 67 0a 6f 70 65 72 61 74 |escribin|g.operat|
|00005330| 69 6f 6e 73 20 74 68 61 | 74 20 74 61 6b 65 20 6e |ions tha|t take n|
|00005340| 6f 20 64 61 74 61 20 61 | 73 20 69 6e 70 75 74 20 |o data a|s input |
|00005350| 6f 72 20 6e 6f 20 64 61 | 74 61 20 61 73 20 6f 75 |or no da|ta as ou|
|00005360| 74 70 75 74 2e 20 54 68 | 65 79 20 61 72 65 0a 61 |tput. Th|ey are.a|
|00005370| 6c 73 6f 20 75 73 65 66 | 75 6c 20 69 6e 20 75 6e |lso usef|ul in un|
|00005380| 69 6f 6e 73 2c 20 77 68 | 65 72 65 20 73 6f 6d 65 |ions, wh|ere some|
|00005390| 20 61 72 6d 73 20 6d 61 | 79 20 63 6f 6e 74 61 69 | arms ma|y contai|
|000053a0| 6e 20 64 61 74 61 20 61 | 6e 64 20 6f 74 68 65 72 |n data a|nd other|
|000053b0| 73 20 64 6f 0a 6e 6f 74 | 2e 20 20 54 68 65 20 64 |s do.not|. The d|
|000053c0| 65 63 6c 61 72 61 74 69 | 6f 6e 20 69 73 20 73 69 |eclarati|on is si|
|000053d0| 6d 70 6c 79 20 61 73 20 | 66 6f 6c 6c 6f 77 73 3a |mply as |follows:|
|000053e0| 0a 58 2e 44 53 0a 58 2e | 66 74 20 43 57 0a 76 6f |.X.DS.X.|ft CW.vo|
|000053f0| 69 64 3b 0a 58 2e 44 45 | 0a 56 6f 69 64 73 20 61 |id;.X.DE|.Voids a|
|00005400| 72 65 20 69 6c 6c 75 73 | 74 72 61 74 65 64 20 61 |re illus|trated a|
|00005410| 73 20 66 6f 6c 6c 6f 77 | 73 3a 0a 58 2e 69 65 20 |s follow|s:.X.ie |
|00005420| 74 20 2e 44 53 0a 58 2e | 65 6c 20 2e 44 53 20 4c |t .DS.X.|el .DS L|
|00005430| 0a 5c 66 49 56 6f 69 64 | 5c 66 50 0a 0a 5c 66 28 |.\fIVoid|\fP..\f(|
|00005440| 43 57 20 20 2b 2b 0a 20 | 20 7c 7c 0a 20 20 2b 2b |CW ++. | ||. ++|
|00005450| 0a 2d 2d 3e 3c 2d 2d 20 | 30 20 62 79 74 65 73 5c |.--><-- |0 bytes\|
|00005460| 66 50 0a 58 2e 44 45 0a | 58 2e 4e 48 20 32 0a 5c |fP.X.DE.|X.NH 2.\|
|00005470| 26 43 6f 6e 73 74 61 6e | 74 0a 58 2e 49 58 20 58 |&Constan|t.X.IX X|
|00005480| 44 52 20 63 6f 6e 73 74 | 61 6e 74 0a 58 2e 4c 50 |DR const|ant.X.LP|
|00005490| 0a 54 68 65 20 64 61 74 | 61 20 64 65 63 6c 61 72 |.The dat|a declar|
|000054a0| 61 74 69 6f 6e 20 66 6f | 72 20 61 20 63 6f 6e 73 |ation fo|r a cons|
|000054b0| 74 61 6e 74 20 66 6f 6c | 6c 6f 77 73 20 74 68 69 |tant fol|lows thi|
|000054c0| 73 20 66 6f 72 6d 3a 0a | 58 2e 44 53 0a 58 2e 66 |s form:.|X.DS.X.f|
|000054d0| 74 20 43 57 0a 63 6f 6e | 73 74 20 6e 61 6d 65 2d |t CW.con|st name-|
|000054e0| 69 64 65 6e 74 69 66 69 | 65 72 20 3d 20 6e 3b 0a |identifi|er = n;.|
|000054f0| 58 2e 44 45 0a 22 63 6f | 6e 73 74 22 20 69 73 20 |X.DE."co|nst" is |
|00005500| 75 73 65 64 20 74 6f 20 | 64 65 66 69 6e 65 20 61 |used to |define a|
|00005510| 20 73 79 6d 62 6f 6c 69 | 63 20 6e 61 6d 65 20 66 | symboli|c name f|
|00005520| 6f 72 20 61 20 63 6f 6e | 73 74 61 6e 74 3b 20 69 |or a con|stant; i|
|00005530| 74 20 64 6f 65 73 20 6e | 6f 74 0a 64 65 63 6c 61 |t does n|ot.decla|
|00005540| 72 65 20 61 6e 79 20 64 | 61 74 61 2e 20 20 54 68 |re any d|ata. Th|
|00005550| 65 20 73 79 6d 62 6f 6c | 69 63 20 63 6f 6e 73 74 |e symbol|ic const|
|00005560| 61 6e 74 20 6d 61 79 20 | 62 65 20 75 73 65 64 20 |ant may |be used |
|00005570| 61 6e 79 77 68 65 72 65 | 20 61 0a 72 65 67 75 6c |anywhere| a.regul|
|00005580| 61 72 20 63 6f 6e 73 74 | 61 6e 74 20 6d 61 79 20 |ar const|ant may |
|00005590| 62 65 20 75 73 65 64 2e | 20 20 46 6f 72 20 65 78 |be used.| For ex|
|000055a0| 61 6d 70 6c 65 2c 20 74 | 68 65 20 66 6f 6c 6c 6f |ample, t|he follo|
|000055b0| 77 69 6e 67 20 64 65 66 | 69 6e 65 73 20 61 0a 73 |wing def|ines a.s|
|000055c0| 79 6d 62 6f 6c 69 63 20 | 63 6f 6e 73 74 61 6e 74 |ymbolic |constant|
|000055d0| 20 44 4f 5a 45 4e 2c 20 | 65 71 75 61 6c 20 74 6f | DOZEN, |equal to|
|000055e0| 20 31 32 2e 0a 58 2e 44 | 53 0a 58 2e 66 74 20 43 | 12..X.D|S.X.ft C|
|000055f0| 57 0a 63 6f 6e 73 74 20 | 44 4f 5a 45 4e 20 3d 20 |W.const |DOZEN = |
|00005600| 31 32 3b 0a 58 2e 44 45 | 0a 58 2e 4e 48 20 32 0a |12;.X.DE|.X.NH 2.|
|00005610| 5c 26 54 79 70 65 64 65 | 66 0a 58 2e 49 58 20 58 |\&Typede|f.X.IX X|
|00005620| 44 52 20 74 79 70 65 64 | 65 66 0a 58 2e 4c 50 0a |DR typed|ef.X.LP.|
|00005630| 22 74 79 70 65 64 65 66 | 22 20 64 6f 65 73 20 6e |"typedef|" does n|
|00005640| 6f 74 20 64 65 63 6c 61 | 72 65 20 61 6e 79 20 64 |ot decla|re any d|
|00005650| 61 74 61 20 65 69 74 68 | 65 72 2c 20 62 75 74 20 |ata eith|er, but |
|00005660| 73 65 72 76 65 73 20 74 | 6f 20 64 65 66 69 6e 65 |serves t|o define|
|00005670| 20 6e 65 77 0a 69 64 65 | 6e 74 69 66 69 65 72 73 | new.ide|ntifiers|
|00005680| 20 66 6f 72 20 64 65 63 | 6c 61 72 69 6e 67 20 64 | for dec|laring d|
|00005690| 61 74 61 2e 20 54 68 65 | 20 73 79 6e 74 61 78 20 |ata. The| syntax |
|000056a0| 69 73 3a 0a 58 2e 44 53 | 0a 58 2e 66 74 20 43 57 |is:.X.DS|.X.ft CW|
|000056b0| 0a 74 79 70 65 64 65 66 | 20 64 65 63 6c 61 72 61 |.typedef| declara|
|000056c0| 74 69 6f 6e 3b 0a 58 2e | 44 45 0a 54 68 65 20 6e |tion;.X.|DE.The n|
|000056d0| 65 77 20 74 79 70 65 20 | 6e 61 6d 65 20 69 73 20 |ew type |name is |
|000056e0| 61 63 74 75 61 6c 6c 79 | 20 74 68 65 20 76 61 72 |actually| the var|
|000056f0| 69 61 62 6c 65 20 6e 61 | 6d 65 20 69 6e 20 74 68 |iable na|me in th|
|00005700| 65 20 64 65 63 6c 61 72 | 61 74 69 6f 6e 0a 70 61 |e declar|ation.pa|
|00005710| 72 74 20 6f 66 20 74 68 | 65 20 74 79 70 65 64 65 |rt of th|e typede|
|00005720| 66 2e 20 20 46 6f 72 20 | 65 78 61 6d 70 6c 65 2c |f. For |example,|
|00005730| 20 74 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 20 64 | the fol|lowing d|
|00005740| 65 66 69 6e 65 73 20 61 | 20 6e 65 77 20 74 79 70 |efines a| new typ|
|00005750| 65 0a 63 61 6c 6c 65 64 | 20 22 65 67 67 62 6f 78 |e.called| "eggbox|
|00005760| 22 20 75 73 69 6e 67 20 | 61 6e 20 65 78 69 73 74 |" using |an exist|
|00005770| 69 6e 67 20 74 79 70 65 | 20 63 61 6c 6c 65 64 20 |ing type| called |
|00005780| 22 65 67 67 22 3a 0a 58 | 2e 44 53 0a 58 2e 66 74 |"egg":.X|.DS.X.ft|
|00005790| 20 43 57 0a 74 79 70 65 | 64 65 66 20 65 67 67 20 | CW.type|def egg |
|000057a0| 65 67 67 62 6f 78 5b 44 | 4f 5a 45 4e 5d 3b 0a 58 |eggbox[D|OZEN];.X|
|000057b0| 2e 44 45 0a 56 61 72 69 | 61 62 6c 65 73 20 64 65 |.DE.Vari|ables de|
|000057c0| 63 6c 61 72 65 64 20 75 | 73 69 6e 67 20 74 68 65 |clared u|sing the|
|000057d0| 20 6e 65 77 20 74 79 70 | 65 20 6e 61 6d 65 20 68 | new typ|e name h|
|000057e0| 61 76 65 20 74 68 65 20 | 73 61 6d 65 20 74 79 70 |ave the |same typ|
|000057f0| 65 20 61 73 20 74 68 65 | 0a 6e 65 77 20 74 79 70 |e as the|.new typ|
|00005800| 65 20 6e 61 6d 65 20 77 | 6f 75 6c 64 20 68 61 76 |e name w|ould hav|
|00005810| 65 20 69 6e 20 74 68 65 | 20 74 79 70 65 64 65 66 |e in the| typedef|
|00005820| 2c 20 69 66 20 69 74 20 | 77 61 73 20 63 6f 6e 73 |, if it |was cons|
|00005830| 69 64 65 72 65 64 20 61 | 0a 76 61 72 69 61 62 6c |idered a|.variabl|
|00005840| 65 2e 20 20 46 6f 72 20 | 65 78 61 6d 70 6c 65 2c |e. For |example,|
|00005850| 20 74 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 20 74 | the fol|lowing t|
|00005860| 77 6f 20 64 65 63 6c 61 | 72 61 74 69 6f 6e 73 20 |wo decla|rations |
|00005870| 61 72 65 20 65 71 75 69 | 76 61 6c 65 6e 74 0a 69 |are equi|valent.i|
|00005880| 6e 20 64 65 63 6c 61 72 | 69 6e 67 20 74 68 65 20 |n declar|ing the |
|00005890| 76 61 72 69 61 62 6c 65 | 20 22 66 72 65 73 68 65 |variable| "freshe|
|000058a0| 67 67 73 22 3a 0a 58 2e | 44 53 0a 58 2e 66 74 20 |ggs":.X.|DS.X.ft |
|000058b0| 43 57 0a 65 67 67 62 6f | 78 20 20 66 72 65 73 68 |CW.eggbo|x fresh|
|000058c0| 65 67 67 73 3b 0a 65 67 | 67 20 20 20 20 20 66 72 |eggs;.eg|g fr|
|000058d0| 65 73 68 65 67 67 73 5b | 44 4f 5a 45 4e 5d 3b 0a |esheggs[|DOZEN];.|
|000058e0| 58 2e 44 45 0a 57 68 65 | 6e 20 61 20 74 79 70 65 |X.DE.Whe|n a type|
|000058f0| 64 65 66 20 69 6e 76 6f | 6c 76 65 73 20 61 20 73 |def invo|lves a s|
|00005900| 74 72 75 63 74 2c 20 65 | 6e 75 6d 2c 20 6f 72 20 |truct, e|num, or |
|00005910| 75 6e 69 6f 6e 20 64 65 | 66 69 6e 69 74 69 6f 6e |union de|finition|
|00005920| 2c 20 74 68 65 72 65 20 | 69 73 0a 61 6e 6f 74 68 |, there |is.anoth|
|00005930| 65 72 20 28 70 72 65 66 | 65 72 72 65 64 29 20 73 |er (pref|erred) s|
|00005940| 79 6e 74 61 78 20 74 68 | 61 74 20 6d 61 79 20 62 |yntax th|at may b|
|00005950| 65 20 75 73 65 64 20 74 | 6f 20 64 65 66 69 6e 65 |e used t|o define|
|00005960| 20 74 68 65 20 73 61 6d | 65 20 74 79 70 65 2e 0a | the sam|e type..|
|00005970| 49 6e 20 67 65 6e 65 72 | 61 6c 2c 20 61 20 74 79 |In gener|al, a ty|
|00005980| 70 65 64 65 66 20 6f 66 | 20 74 68 65 20 66 6f 6c |pedef of| the fol|
|00005990| 6c 6f 77 69 6e 67 20 66 | 6f 72 6d 3a 0a 58 2e 44 |lowing f|orm:.X.D|
|000059a0| 53 0a 58 2e 66 74 20 43 | 57 0a 74 79 70 65 64 65 |S.X.ft C|W.typede|
|000059b0| 66 20 3c 3c 73 74 72 75 | 63 74 2c 20 75 6e 69 6f |f <<stru|ct, unio|
|000059c0| 6e 2c 20 6f 72 20 65 6e | 75 6d 20 64 65 66 69 6e |n, or en|um defin|
|000059d0| 69 74 69 6f 6e 3e 3e 20 | 69 64 65 6e 74 69 66 69 |ition>> |identifi|
|000059e0| 65 72 3b 0a 58 2e 44 45 | 0a 6d 61 79 20 62 65 20 |er;.X.DE|.may be |
|000059f0| 63 6f 6e 76 65 72 74 65 | 64 20 74 6f 20 74 68 65 |converte|d to the|
|00005a00| 20 61 6c 74 65 72 6e 61 | 74 69 76 65 20 66 6f 72 | alterna|tive for|
|00005a10| 6d 20 62 79 20 72 65 6d | 6f 76 69 6e 67 20 74 68 |m by rem|oving th|
|00005a20| 65 20 22 74 79 70 65 64 | 65 66 22 0a 70 61 72 74 |e "typed|ef".part|
|00005a30| 20 61 6e 64 20 70 6c 61 | 63 69 6e 67 20 74 68 65 | and pla|cing the|
|00005a40| 20 69 64 65 6e 74 69 66 | 69 65 72 20 61 66 74 65 | identif|ier afte|
|00005a50| 72 20 74 68 65 20 22 73 | 74 72 75 63 74 22 2c 20 |r the "s|truct", |
|00005a60| 22 75 6e 69 6f 6e 22 2c | 20 6f 72 0a 22 65 6e 75 |"union",| or."enu|
|00005a70| 6d 22 20 6b 65 79 77 6f | 72 64 2c 20 69 6e 73 74 |m" keywo|rd, inst|
|00005a80| 65 61 64 20 6f 66 20 61 | 74 20 74 68 65 20 65 6e |ead of a|t the en|
|00005a90| 64 2e 20 20 46 6f 72 20 | 65 78 61 6d 70 6c 65 2c |d. For |example,|
|00005aa0| 20 68 65 72 65 20 61 72 | 65 20 74 68 65 20 74 77 | here ar|e the tw|
|00005ab0| 6f 0a 77 61 79 73 20 74 | 6f 20 64 65 66 69 6e 65 |o.ways t|o define|
|00005ac0| 20 74 68 65 20 74 79 70 | 65 20 22 62 6f 6f 6c 22 | the typ|e "bool"|
|00005ad0| 3a 0a 58 2e 44 53 0a 58 | 2e 66 74 20 43 57 0a 74 |:.X.DS.X|.ft CW.t|
|00005ae0| 79 70 65 64 65 66 20 65 | 6e 75 6d 20 7b 20 20 20 |ypedef e|num { |
|00005af0| 20 2f 2a 20 5c 66 49 75 | 73 69 6e 67 20 74 79 70 | /* \fIu|sing typ|
|00005b00| 65 64 65 66 5c 66 50 20 | 2a 2f 0a 09 46 41 4c 53 |edef\fP |*/..FALS|
|00005b10| 45 20 3d 20 30 2c 0a 09 | 54 52 55 45 20 3d 20 31 |E = 0,..|TRUE = 1|
|00005b20| 0a 09 7d 20 62 6f 6f 6c | 3b 0a 0a 65 6e 75 6d 20 |..} bool|;..enum |
|00005b30| 62 6f 6f 6c 20 7b 20 20 | 20 20 20 20 20 2f 2a 20 |bool { | /* |
|00005b40| 5c 66 49 70 72 65 66 65 | 72 72 65 64 20 61 6c 74 |\fIprefe|rred alt|
|00005b50| 65 72 6e 61 74 69 76 65 | 5c 66 50 20 2a 2f 0a 09 |ernative|\fP */..|
|00005b60| 46 41 4c 53 45 20 3d 20 | 30 2c 0a 09 54 52 55 45 |FALSE = |0,..TRUE|
|00005b70| 20 3d 20 31 0a 09 7d 3b | 0a 58 2e 44 45 0a 54 68 | = 1..};|.X.DE.Th|
|00005b80| 65 20 72 65 61 73 6f 6e | 20 74 68 69 73 20 73 79 |e reason| this sy|
|00005b90| 6e 74 61 78 20 69 73 20 | 70 72 65 66 65 72 72 65 |ntax is |preferre|
|00005ba0| 64 20 69 73 20 6f 6e 65 | 20 64 6f 65 73 20 6e 6f |d is one| does no|
|00005bb0| 74 20 68 61 76 65 20 74 | 6f 20 77 61 69 74 0a 75 |t have t|o wait.u|
|00005bc0| 6e 74 69 6c 20 74 68 65 | 20 65 6e 64 20 6f 66 20 |ntil the| end of |
|00005bd0| 61 20 64 65 63 6c 61 72 | 61 74 69 6f 6e 20 74 6f |a declar|ation to|
|00005be0| 20 66 69 67 75 72 65 20 | 6f 75 74 20 74 68 65 20 | figure |out the |
|00005bf0| 6e 61 6d 65 20 6f 66 20 | 74 68 65 20 6e 65 77 0a |name of |the new.|
|00005c00| 74 79 70 65 2e 0a 58 2e | 4e 48 20 32 0a 5c 26 4f |type..X.|NH 2.\&O|
|00005c10| 70 74 69 6f 6e 61 6c 2d | 64 61 74 61 0a 58 2e 49 |ptional-|data.X.I|
|00005c20| 58 20 58 44 52 20 22 6f | 70 74 69 6f 6e 61 6c 20 |X XDR "o|ptional |
|00005c30| 64 61 74 61 22 0a 58 2e | 49 58 20 58 44 52 20 22 |data".X.|IX XDR "|
|00005c40| 64 61 74 61 2c 20 6f 70 | 74 69 6f 6e 61 6c 22 0a |data, op|tional".|
|00005c50| 58 2e 4c 50 0a 4f 70 74 | 69 6f 6e 61 6c 2d 64 61 |X.LP.Opt|ional-da|
|00005c60| 74 61 20 69 73 20 6f 6e | 65 20 6b 69 6e 64 20 6f |ta is on|e kind o|
|00005c70| 66 20 75 6e 69 6f 6e 20 | 74 68 61 74 20 6f 63 63 |f union |that occ|
|00005c80| 75 72 73 20 73 6f 20 66 | 72 65 71 75 65 6e 74 6c |urs so f|requentl|
|00005c90| 79 20 74 68 61 74 20 77 | 65 0a 67 69 76 65 20 69 |y that w|e.give i|
|00005ca0| 74 20 61 20 73 70 65 63 | 69 61 6c 20 73 79 6e 74 |t a spec|ial synt|
|00005cb0| 61 78 20 6f 66 20 69 74 | 73 20 6f 77 6e 20 66 6f |ax of it|s own fo|
|00005cc0| 72 20 64 65 63 6c 61 72 | 69 6e 67 20 69 74 2e 20 |r declar|ing it. |
|00005cd0| 20 49 74 20 69 73 20 64 | 65 63 6c 61 72 65 64 0a | It is d|eclared.|
|00005ce0| 61 73 20 66 6f 6c 6c 6f | 77 73 3a 0a 58 2e 44 53 |as follo|ws:.X.DS|
|00005cf0| 0a 58 2e 66 74 20 43 57 | 0a 74 79 70 65 2d 6e 61 |.X.ft CW|.type-na|
|00005d00| 6d 65 20 2a 69 64 65 6e | 74 69 66 69 65 72 3b 0a |me *iden|tifier;.|
|00005d10| 58 2e 44 45 0a 54 68 69 | 73 20 69 73 20 65 71 75 |X.DE.Thi|s is equ|
|00005d20| 69 76 61 6c 65 6e 74 20 | 74 6f 20 74 68 65 20 66 |ivalent |to the f|
|00005d30| 6f 6c 6c 6f 77 69 6e 67 | 20 75 6e 69 6f 6e 3a 0a |ollowing| union:.|
|00005d40| 58 2e 44 53 0a 58 2e 66 | 74 20 43 57 0a 75 6e 69 |X.DS.X.f|t CW.uni|
|00005d50| 6f 6e 20 73 77 69 74 63 | 68 20 28 62 6f 6f 6c 20 |on switc|h (bool |
|00005d60| 6f 70 74 65 64 29 20 7b | 0a 09 63 61 73 65 20 54 |opted) {|..case T|
|00005d70| 52 55 45 3a 0a 09 74 79 | 70 65 2d 6e 61 6d 65 20 |RUE:..ty|pe-name |
|00005d80| 65 6c 65 6d 65 6e 74 3b | 0a 09 63 61 73 65 20 46 |element;|..case F|
|00005d90| 41 4c 53 45 3a 0a 09 76 | 6f 69 64 3b 0a 7d 20 69 |ALSE:..v|oid;.} i|
|00005da0| 64 65 6e 74 69 66 69 65 | 72 3b 0a 58 2e 44 45 0a |dentifie|r;.X.DE.|
|00005db0| 49 74 20 69 73 20 61 6c | 73 6f 20 65 71 75 69 76 |It is al|so equiv|
|00005dc0| 61 6c 65 6e 74 20 74 6f | 20 74 68 65 20 66 6f 6c |alent to| the fol|
|00005dd0| 6c 6f 77 69 6e 67 20 76 | 61 72 69 61 62 6c 65 2d |lowing v|ariable-|
|00005de0| 6c 65 6e 67 74 68 20 61 | 72 72 61 79 0a 64 65 63 |length a|rray.dec|
|00005df0| 6c 61 72 61 74 69 6f 6e | 2c 20 73 69 6e 63 65 20 |laration|, since |
|00005e00| 74 68 65 20 62 6f 6f 6c | 65 61 6e 20 22 6f 70 74 |the bool|ean "opt|
|00005e10| 65 64 22 20 63 61 6e 20 | 62 65 20 69 6e 74 65 72 |ed" can |be inter|
|00005e20| 70 72 65 74 65 64 20 61 | 73 20 74 68 65 0a 6c 65 |preted a|s the.le|
|00005e30| 6e 67 74 68 20 6f 66 20 | 74 68 65 20 61 72 72 61 |ngth of |the arra|
|00005e40| 79 3a 0a 58 2e 44 53 0a | 58 2e 66 74 20 43 57 0a |y:.X.DS.|X.ft CW.|
|00005e50| 74 79 70 65 2d 6e 61 6d | 65 20 69 64 65 6e 74 69 |type-nam|e identi|
|00005e60| 66 69 65 72 3c 31 3e 3b | 0a 58 2e 44 45 0a 4f 70 |fier<1>;|.X.DE.Op|
|00005e70| 74 69 6f 6e 61 6c 2d 64 | 61 74 61 20 69 73 20 6e |tional-d|ata is n|
|00005e80| 6f 74 20 73 6f 20 69 6e | 74 65 72 65 73 74 69 6e |ot so in|terestin|
|00005e90| 67 20 69 6e 20 69 74 73 | 65 6c 66 2c 20 62 75 74 |g in its|elf, but|
|00005ea0| 20 69 74 20 69 73 20 76 | 65 72 79 20 75 73 65 66 | it is v|ery usef|
|00005eb0| 75 6c 0a 66 6f 72 20 64 | 65 73 63 72 69 62 69 6e |ul.for d|escribin|
|00005ec0| 67 20 72 65 63 75 72 73 | 69 76 65 20 64 61 74 61 |g recurs|ive data|
|00005ed0| 2d 73 74 72 75 63 74 75 | 72 65 73 20 73 75 63 68 |-structu|res such|
|00005ee0| 20 61 73 20 6c 69 6e 6b | 65 64 2d 6c 69 73 74 73 | as link|ed-lists|
|00005ef0| 20 61 6e 64 0a 74 72 65 | 65 73 2e 20 20 46 6f 72 | and.tre|es. For|
|00005f00| 20 65 78 61 6d 70 6c 65 | 2c 20 74 68 65 20 66 6f | example|, the fo|
|00005f10| 6c 6c 6f 77 69 6e 67 20 | 64 65 66 69 6e 65 73 20 |llowing |defines |
|00005f20| 61 20 74 79 70 65 20 22 | 73 74 72 69 6e 67 6c 69 |a type "|stringli|
|00005f30| 73 74 22 20 74 68 61 74 | 0a 65 6e 63 6f 64 65 73 |st" that|.encodes|
|00005f40| 20 6c 69 73 74 73 20 6f | 66 20 61 72 62 69 74 72 | lists o|f arbitr|
|00005f50| 61 72 79 20 6c 65 6e 67 | 74 68 20 73 74 72 69 6e |ary leng|th strin|
|00005f60| 67 73 3a 0a 58 2e 44 53 | 0a 58 2e 66 74 20 43 57 |gs:.X.DS|.X.ft CW|
|00005f70| 0a 73 74 72 75 63 74 20 | 2a 73 74 72 69 6e 67 6c |.struct |*stringl|
|00005f80| 69 73 74 20 7b 0a 09 73 | 74 72 69 6e 67 20 69 74 |ist {..s|tring it|
|00005f90| 65 6d 3c 3e 3b 0a 09 73 | 74 72 69 6e 67 6c 69 73 |em<>;..s|tringlis|
|00005fa0| 74 20 6e 65 78 74 3b 0a | 7d 3b 0a 58 2e 44 45 0a |t next;.|};.X.DE.|
|00005fb0| 49 74 20 63 6f 75 6c 64 | 20 68 61 76 65 20 62 65 |It could| have be|
|00005fc0| 65 6e 20 65 71 75 69 76 | 61 6c 65 6e 74 6c 79 20 |en equiv|alently |
|00005fd0| 64 65 63 6c 61 72 65 64 | 20 61 73 20 74 68 65 20 |declared| as the |
|00005fe0| 66 6f 6c 6c 6f 77 69 6e | 67 20 75 6e 69 6f 6e 3a |followin|g union:|
|00005ff0| 0a 58 2e 44 53 0a 58 2e | 66 74 20 43 57 0a 75 6e |.X.DS.X.|ft CW.un|
|00006000| 69 6f 6e 20 73 74 72 69 | 6e 67 6c 69 73 74 20 73 |ion stri|nglist s|
|00006010| 77 69 74 63 68 20 28 62 | 6f 6f 6c 20 6f 70 74 65 |witch (b|ool opte|
|00006020| 64 29 20 7b 0a 09 63 61 | 73 65 20 54 52 55 45 3a |d) {..ca|se TRUE:|
|00006030| 0a 09 09 73 74 72 75 63 | 74 20 7b 0a 09 09 09 73 |...struc|t {....s|
|00006040| 74 72 69 6e 67 20 69 74 | 65 6d 3c 3e 3b 0a 09 09 |tring it|em<>;...|
|00006050| 09 73 74 72 69 6e 67 6c | 69 73 74 20 6e 65 78 74 |.stringl|ist next|
|00006060| 3b 0a 09 09 7d 20 65 6c | 65 6d 65 6e 74 3b 0a 09 |;...} el|ement;..|
|00006070| 63 61 73 65 20 46 41 4c | 53 45 3a 0a 09 09 76 6f |case FAL|SE:...vo|
|00006080| 69 64 3b 0a 7d 3b 0a 58 | 2e 44 45 0a 6f 72 20 61 |id;.};.X|.DE.or a|
|00006090| 73 20 61 20 76 61 72 69 | 61 62 6c 65 2d 6c 65 6e |s a vari|able-len|
|000060a0| 67 74 68 20 61 72 72 61 | 79 3a 0a 58 2e 44 53 0a |gth arra|y:.X.DS.|
|000060b0| 58 2e 66 74 20 43 57 0a | 73 74 72 75 63 74 20 73 |X.ft CW.|struct s|
|000060c0| 74 72 69 6e 67 6c 69 73 | 74 3c 31 3e 20 7b 0a 09 |tringlis|t<1> {..|
|000060d0| 73 74 72 69 6e 67 20 69 | 74 65 6d 3c 3e 3b 0a 09 |string i|tem<>;..|
|000060e0| 73 74 72 69 6e 67 6c 69 | 73 74 20 6e 65 78 74 3b |stringli|st next;|
|000060f0| 0a 7d 3b 0a 58 2e 44 45 | 0a 42 6f 74 68 20 6f 66 |.};.X.DE|.Both of|
|00006100| 20 74 68 65 73 65 20 64 | 65 63 6c 61 72 61 74 69 | these d|eclarati|
|00006110| 6f 6e 73 20 6f 62 73 63 | 75 72 65 20 74 68 65 20 |ons obsc|ure the |
|00006120| 69 6e 74 65 6e 74 69 6f | 6e 20 6f 66 20 74 68 65 |intentio|n of the|
|00006130| 20 73 74 72 69 6e 67 6c | 69 73 74 0a 74 79 70 65 | stringl|ist.type|
|00006140| 2c 20 73 6f 20 74 68 65 | 20 6f 70 74 69 6f 6e 61 |, so the| optiona|
|00006150| 6c 2d 64 61 74 61 20 64 | 65 63 6c 61 72 61 74 69 |l-data d|eclarati|
|00006160| 6f 6e 20 69 73 20 70 72 | 65 66 65 72 72 65 64 20 |on is pr|eferred |
|00006170| 6f 76 65 72 20 62 6f 74 | 68 20 6f 66 0a 74 68 65 |over bot|h of.the|
|00006180| 6d 2e 20 20 54 68 65 20 | 6f 70 74 69 6f 6e 61 6c |m. The |optional|
|00006190| 2d 64 61 74 61 20 74 79 | 70 65 20 61 6c 73 6f 20 |-data ty|pe also |
|000061a0| 68 61 73 20 61 20 63 6c | 6f 73 65 20 63 6f 72 72 |has a cl|ose corr|
|000061b0| 65 6c 61 74 69 6f 6e 20 | 74 6f 20 68 6f 77 0a 72 |elation |to how.r|
|000061c0| 65 63 75 72 73 69 76 65 | 20 64 61 74 61 20 73 74 |ecursive| data st|
|000061d0| 72 75 63 74 75 72 65 73 | 20 61 72 65 20 72 65 70 |ructures| are rep|
|000061e0| 72 65 73 65 6e 74 65 64 | 20 69 6e 20 68 69 67 68 |resented| in high|
|000061f0| 2d 6c 65 76 65 6c 20 6c | 61 6e 67 75 61 67 65 73 |-level l|anguages|
|00006200| 0a 73 75 63 68 20 61 73 | 20 50 61 73 63 61 6c 20 |.such as| Pascal |
|00006210| 6f 72 20 43 20 62 79 20 | 75 73 65 20 6f 66 20 70 |or C by |use of p|
|00006220| 6f 69 6e 74 65 72 73 2e | 20 49 6e 20 66 61 63 74 |ointers.| In fact|
|00006230| 2c 20 74 68 65 20 73 79 | 6e 74 61 78 20 69 73 20 |, the sy|ntax is |
|00006240| 74 68 65 0a 73 61 6d 65 | 20 61 73 20 74 68 61 74 |the.same| as that|
|00006250| 20 6f 66 20 74 68 65 20 | 43 20 6c 61 6e 67 75 61 | of the |C langua|
|00006260| 67 65 20 66 6f 72 20 70 | 6f 69 6e 74 65 72 73 2e |ge for p|ointers.|
|00006270| 0a 58 2e 4e 48 20 32 0a | 5c 26 41 72 65 61 73 20 |.X.NH 2.|\&Areas |
|00006280| 66 6f 72 20 46 75 74 75 | 72 65 20 45 6e 68 61 6e |for Futu|re Enhan|
|00006290| 63 65 6d 65 6e 74 0a 58 | 2e 49 58 20 58 44 52 20 |cement.X|.IX XDR |
|000062a0| 66 75 74 75 72 65 73 0a | 58 2e 4c 50 0a 54 68 65 |futures.|X.LP.The|
|000062b0| 20 58 44 52 20 73 74 61 | 6e 64 61 72 64 20 6c 61 | XDR sta|ndard la|
|000062c0| 63 6b 73 20 72 65 70 72 | 65 73 65 6e 74 61 74 69 |cks repr|esentati|
|000062d0| 6f 6e 73 20 66 6f 72 20 | 62 69 74 20 66 69 65 6c |ons for |bit fiel|
|000062e0| 64 73 20 61 6e 64 20 62 | 69 74 6d 61 70 73 2c 0a |ds and b|itmaps,.|
|000062f0| 73 69 6e 63 65 20 74 68 | 65 20 73 74 61 6e 64 61 |since th|e standa|
|00006300| 72 64 20 69 73 20 62 61 | 73 65 64 20 6f 6e 20 62 |rd is ba|sed on b|
|00006310| 79 74 65 73 2e 20 20 41 | 6c 73 6f 20 6d 69 73 73 |ytes. A|lso miss|
|00006320| 69 6e 67 20 61 72 65 20 | 70 61 63 6b 65 64 20 28 |ing are |packed (|
|00006330| 6f 72 0a 62 69 6e 61 72 | 79 2d 63 6f 64 65 64 29 |or.binar|y-coded)|
|00006340| 20 64 65 63 69 6d 61 6c | 73 2e 0a 58 2e 4c 50 0a | decimal|s..X.LP.|
|00006350| 54 68 65 20 69 6e 74 65 | 6e 74 20 6f 66 20 74 68 |The inte|nt of th|
|00006360| 65 20 58 44 52 20 73 74 | 61 6e 64 61 72 64 20 77 |e XDR st|andard w|
|00006370| 61 73 20 6e 6f 74 20 74 | 6f 20 64 65 73 63 72 69 |as not t|o descri|
|00006380| 62 65 20 65 76 65 72 79 | 20 6b 69 6e 64 20 6f 66 |be every| kind of|
|00006390| 20 64 61 74 61 0a 74 68 | 61 74 20 70 65 6f 70 6c | data.th|at peopl|
|000063a0| 65 20 68 61 76 65 20 65 | 76 65 72 20 73 65 6e 74 |e have e|ver sent|
|000063b0| 20 6f 72 20 77 69 6c 6c | 20 65 76 65 72 20 77 61 | or will| ever wa|
|000063c0| 6e 74 20 74 6f 20 73 65 | 6e 64 20 66 72 6f 6d 20 |nt to se|nd from |
|000063d0| 6d 61 63 68 69 6e 65 20 | 74 6f 0a 6d 61 63 68 69 |machine |to.machi|
|000063e0| 6e 65 2e 20 52 61 74 68 | 65 72 2c 20 69 74 20 6f |ne. Rath|er, it o|
|000063f0| 6e 6c 79 20 64 65 73 63 | 72 69 62 65 73 20 74 68 |nly desc|ribes th|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.