ofs | hex dump | ascii |
---|
0000 | 03 f3 0d 0a 06 43 bf 51 63 00 00 00 00 00 00 00 00 03 00 00 00 40 00 00 00 73 1d 00 00 00 64 00 | .....C.Qc............@...s....d. |
0020 | 00 5a 00 00 64 01 00 64 04 00 64 02 00 84 00 00 83 00 00 59 5a 01 00 64 03 00 53 28 05 00 00 00 | .Z..d..d..d........YZ..d..S(.... |
0040 | 73 07 06 00 00 53 69 6d 70 6c 65 20 63 6c 61 73 73 20 74 6f 20 72 65 61 64 20 49 46 46 20 63 68 | s....Simple.class.to.read.IFF.ch |
0060 | 75 6e 6b 73 2e 0a 0a 41 6e 20 49 46 46 20 63 68 75 6e 6b 20 28 75 73 65 64 20 69 6e 20 66 6f 72 | unks...An.IFF.chunk.(used.in.for |
0080 | 6d 61 74 73 20 73 75 63 68 20 61 73 20 41 49 46 46 2c 20 54 49 46 46 2c 20 52 4d 46 46 20 28 52 | mats.such.as.AIFF,.TIFF,.RMFF.(R |
00a0 | 65 61 6c 4d 65 64 69 61 20 46 69 6c 65 0a 46 6f 72 6d 61 74 29 29 20 68 61 73 20 74 68 65 20 66 | ealMedia.File.Format)).has.the.f |
00c0 | 6f 6c 6c 6f 77 69 6e 67 20 73 74 72 75 63 74 75 72 65 3a 0a 0a 2b 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d | ollowing.structure:..+---------- |
00e0 | 2d 2d 2d 2d 2d 2d 2b 0a 7c 20 49 44 20 28 34 20 62 79 74 65 73 29 20 20 20 7c 0a 2b 2d 2d 2d 2d | ------+.|.ID.(4.bytes)...|.+---- |
0100 | 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2b 0a 7c 20 73 69 7a 65 20 28 34 20 62 79 74 65 73 29 20 7c | ------------+.|.size.(4.bytes).| |
0120 | 0a 2b 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2b 0a 7c 20 64 61 74 61 20 20 20 20 20 20 | .+----------------+.|.data...... |
0140 | 20 20 20 20 20 7c 0a 7c 20 2e 2e 2e 20 20 20 20 20 20 20 20 20 20 20 20 7c 0a 2b 2d 2d 2d 2d 2d | .....|.|................|.+----- |
0160 | 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2b 0a 0a 54 68 65 20 49 44 20 69 73 20 61 20 34 2d 62 79 74 65 | -----------+..The.ID.is.a.4-byte |
0180 | 20 73 74 72 69 6e 67 20 77 68 69 63 68 20 69 64 65 6e 74 69 66 69 65 73 20 74 68 65 20 74 79 70 | .string.which.identifies.the.typ |
01a0 | 65 20 6f 66 20 63 68 75 6e 6b 2e 0a 0a 54 68 65 20 73 69 7a 65 20 66 69 65 6c 64 20 28 61 20 33 | e.of.chunk...The.size.field.(a.3 |
01c0 | 32 2d 62 69 74 20 76 61 6c 75 65 2c 20 65 6e 63 6f 64 65 64 20 75 73 69 6e 67 20 62 69 67 2d 65 | 2-bit.value,.encoded.using.big-e |
01e0 | 6e 64 69 61 6e 20 62 79 74 65 20 6f 72 64 65 72 29 0a 67 69 76 65 73 20 74 68 65 20 73 69 7a 65 | ndian.byte.order).gives.the.size |
0200 | 20 6f 66 20 74 68 65 20 77 68 6f 6c 65 20 63 68 75 6e 6b 2c 20 69 6e 63 6c 75 64 69 6e 67 20 74 | .of.the.whole.chunk,.including.t |
0220 | 68 65 20 38 2d 62 79 74 65 20 68 65 61 64 65 72 2e 0a 0a 55 73 75 61 6c 6c 79 20 61 6e 20 49 46 | he.8-byte.header...Usually.an.IF |
0240 | 46 2d 74 79 70 65 20 66 69 6c 65 20 63 6f 6e 73 69 73 74 73 20 6f 66 20 6f 6e 65 20 6f 72 20 6d | F-type.file.consists.of.one.or.m |
0260 | 6f 72 65 20 63 68 75 6e 6b 73 2e 20 20 54 68 65 20 70 72 6f 70 6f 73 65 64 0a 75 73 61 67 65 20 | ore.chunks...The.proposed.usage. |
0280 | 6f 66 20 74 68 65 20 43 68 75 6e 6b 20 63 6c 61 73 73 20 64 65 66 69 6e 65 64 20 68 65 72 65 20 | of.the.Chunk.class.defined.here. |
02a0 | 69 73 20 74 6f 20 69 6e 73 74 61 6e 74 69 61 74 65 20 61 6e 20 69 6e 73 74 61 6e 63 65 20 61 74 | is.to.instantiate.an.instance.at |
02c0 | 0a 74 68 65 20 73 74 61 72 74 20 6f 66 20 65 61 63 68 20 63 68 75 6e 6b 20 61 6e 64 20 72 65 61 | .the.start.of.each.chunk.and.rea |
02e0 | 64 20 66 72 6f 6d 20 74 68 65 20 69 6e 73 74 61 6e 63 65 20 75 6e 74 69 6c 20 69 74 20 72 65 61 | d.from.the.instance.until.it.rea |
0300 | 63 68 65 73 0a 74 68 65 20 65 6e 64 2c 20 61 66 74 65 72 20 77 68 69 63 68 20 61 20 6e 65 77 20 | ches.the.end,.after.which.a.new. |
0320 | 69 6e 73 74 61 6e 63 65 20 63 61 6e 20 62 65 20 69 6e 73 74 61 6e 74 69 61 74 65 64 2e 20 20 41 | instance.can.be.instantiated...A |
0340 | 74 20 74 68 65 20 65 6e 64 0a 6f 66 20 74 68 65 20 66 69 6c 65 2c 20 63 72 65 61 74 69 6e 67 20 | t.the.end.of.the.file,.creating. |
0360 | 61 20 6e 65 77 20 69 6e 73 74 61 6e 63 65 20 77 69 6c 6c 20 66 61 69 6c 20 77 69 74 68 20 61 20 | a.new.instance.will.fail.with.a. |
0380 | 45 4f 46 45 72 72 6f 72 0a 65 78 63 65 70 74 69 6f 6e 2e 0a 0a 55 73 61 67 65 3a 0a 77 68 69 6c | EOFError.exception...Usage:.whil |
03a0 | 65 20 54 72 75 65 3a 0a 20 20 20 20 74 72 79 3a 0a 20 20 20 20 20 20 20 20 63 68 75 6e 6b 20 3d | e.True:.....try:.........chunk.= |
03c0 | 20 43 68 75 6e 6b 28 66 69 6c 65 29 0a 20 20 20 20 65 78 63 65 70 74 20 45 4f 46 45 72 72 6f 72 | .Chunk(file).....except.EOFError |
03e0 | 3a 0a 20 20 20 20 20 20 20 20 62 72 65 61 6b 0a 20 20 20 20 63 68 75 6e 6b 74 79 70 65 20 3d 20 | :.........break.....chunktype.=. |
0400 | 63 68 75 6e 6b 2e 67 65 74 6e 61 6d 65 28 29 0a 20 20 20 20 77 68 69 6c 65 20 54 72 75 65 3a 0a | chunk.getname().....while.True:. |
0420 | 20 20 20 20 20 20 20 20 64 61 74 61 20 3d 20 63 68 75 6e 6b 2e 72 65 61 64 28 6e 62 79 74 65 73 | ........data.=.chunk.read(nbytes |
0440 | 29 0a 20 20 20 20 20 20 20 20 69 66 20 6e 6f 74 20 64 61 74 61 3a 0a 20 20 20 20 20 20 20 20 20 | ).........if.not.data:.......... |
0460 | 20 20 20 70 61 73 73 0a 20 20 20 20 20 20 20 20 23 20 64 6f 20 73 6f 6d 65 74 68 69 6e 67 20 77 | ...pass.........#.do.something.w |
0480 | 69 74 68 20 64 61 74 61 0a 0a 54 68 65 20 69 6e 74 65 72 66 61 63 65 20 69 73 20 66 69 6c 65 2d | ith.data..The.interface.is.file- |
04a0 | 6c 69 6b 65 2e 20 20 54 68 65 20 69 6d 70 6c 65 6d 65 6e 74 65 64 20 6d 65 74 68 6f 64 73 20 61 | like...The.implemented.methods.a |
04c0 | 72 65 3a 0a 72 65 61 64 2c 20 63 6c 6f 73 65 2c 20 73 65 65 6b 2c 20 74 65 6c 6c 2c 20 69 73 61 | re:.read,.close,.seek,.tell,.isa |
04e0 | 74 74 79 2e 0a 45 78 74 72 61 20 6d 65 74 68 6f 64 73 20 61 72 65 3a 20 73 6b 69 70 28 29 20 28 | tty..Extra.methods.are:.skip().( |
0500 | 63 61 6c 6c 65 64 20 62 79 20 63 6c 6f 73 65 2c 20 73 6b 69 70 73 20 74 6f 20 74 68 65 20 65 6e | called.by.close,.skips.to.the.en |
0520 | 64 20 6f 66 20 74 68 65 20 63 68 75 6e 6b 29 2c 0a 67 65 74 6e 61 6d 65 28 29 20 28 72 65 74 75 | d.of.the.chunk),.getname().(retu |
0540 | 72 6e 73 20 74 68 65 20 6e 61 6d 65 20 28 49 44 29 20 6f 66 20 74 68 65 20 63 68 75 6e 6b 29 0a | rns.the.name.(ID).of.the.chunk). |
0560 | 0a 54 68 65 20 5f 5f 69 6e 69 74 5f 5f 20 6d 65 74 68 6f 64 20 68 61 73 20 6f 6e 65 20 72 65 71 | .The.__init__.method.has.one.req |
0580 | 75 69 72 65 64 20 61 72 67 75 6d 65 6e 74 2c 20 61 20 66 69 6c 65 2d 6c 69 6b 65 20 6f 62 6a 65 | uired.argument,.a.file-like.obje |
05a0 | 63 74 0a 28 69 6e 63 6c 75 64 69 6e 67 20 61 20 63 68 75 6e 6b 20 69 6e 73 74 61 6e 63 65 29 2c | ct.(including.a.chunk.instance), |
05c0 | 20 61 6e 64 20 6f 6e 65 20 6f 70 74 69 6f 6e 61 6c 20 61 72 67 75 6d 65 6e 74 2c 20 61 20 66 6c | .and.one.optional.argument,.a.fl |
05e0 | 61 67 20 77 68 69 63 68 0a 73 70 65 63 69 66 69 65 73 20 77 68 65 74 68 65 72 20 6f 72 20 6e 6f | ag.which.specifies.whether.or.no |
0600 | 74 20 63 68 75 6e 6b 73 20 61 72 65 20 61 6c 69 67 6e 65 64 20 6f 6e 20 32 2d 62 79 74 65 20 62 | t.chunks.are.aligned.on.2-byte.b |
0620 | 6f 75 6e 64 61 72 69 65 73 2e 20 20 54 68 65 0a 64 65 66 61 75 6c 74 20 69 73 20 31 2c 20 69 2e | oundaries...The.default.is.1,.i. |
0640 | 65 2e 20 61 6c 69 67 6e 65 64 2e 0a 74 05 00 00 00 43 68 75 6e 6b 63 00 00 00 00 00 00 00 00 04 | e..aligned..t....Chunkc......... |
0660 | 00 00 00 42 00 00 00 73 68 00 00 00 65 00 00 5a 01 00 65 02 00 65 02 00 65 03 00 64 00 00 84 03 | ...B...sh...e..Z..e..e..e..d.... |
0680 | 00 5a 04 00 64 01 00 84 00 00 5a 05 00 64 02 00 84 00 00 5a 06 00 64 03 00 84 00 00 5a 07 00 64 | .Z..d.....Z..d.....Z..d.....Z..d |
06a0 | 04 00 84 00 00 5a 08 00 64 05 00 64 06 00 84 01 00 5a 09 00 64 07 00 84 00 00 5a 0a 00 64 08 00 | .....Z..d..d.....Z..d.....Z..d.. |
06c0 | 64 09 00 84 01 00 5a 0b 00 64 0a 00 84 00 00 5a 0c 00 52 53 28 0b 00 00 00 63 05 00 00 00 07 00 | d.....Z..d.....Z..RS(....c...... |
06e0 | 00 00 06 00 00 00 43 00 00 00 73 1b 01 00 00 64 01 00 64 00 00 6c 00 00 7d 05 00 74 01 00 7c 00 | ......C...s....d..d..l..}..t..|. |
0700 | 00 5f 02 00 7c 02 00 7c 00 00 5f 03 00 7c 03 00 72 2d 00 64 02 00 7d 06 00 6e 06 00 64 03 00 7d | ._..|..|.._..|..r-.d..}..n..d..} |
0720 | 06 00 7c 01 00 7c 00 00 5f 04 00 7c 01 00 6a 05 00 64 04 00 83 01 00 7c 00 00 5f 06 00 74 07 00 | ..|..|.._..|..j..d.....|.._..t.. |
0740 | 7c 00 00 6a 06 00 83 01 00 64 04 00 6b 00 00 72 6c 00 74 08 00 82 01 00 6e 00 00 79 2a 00 7c 05 | |..j.....d..k..rl.t.....n..y*.|. |
0760 | 00 6a 09 00 7c 06 00 64 05 00 17 7c 01 00 6a 05 00 64 04 00 83 01 00 83 02 00 64 06 00 19 7c 00 | .j..|..d...|..j..d........d...|. |
0780 | 00 5f 0a 00 57 6e 1a 00 04 7c 05 00 6a 0b 00 6b 0a 00 72 b2 00 01 01 01 74 08 00 82 01 00 6e 01 | ._..Wn...|..j..k..r.....t.....n. |
07a0 | 00 58 7c 04 00 72 cc 00 7c 00 00 6a 0a 00 64 07 00 18 7c 00 00 5f 0a 00 6e 00 00 64 06 00 7c 00 | .X|..r..|..j..d...|.._..n..d..|. |
07c0 | 00 5f 0c 00 79 16 00 7c 00 00 6a 04 00 6a 0d 00 83 00 00 7c 00 00 5f 0e 00 57 6e 20 00 04 74 0f | ._..y..|..j..j.....|.._..Wn...t. |
07e0 | 00 74 10 00 66 02 00 6b 0a 00 72 0d 01 01 01 01 74 01 00 7c 00 00 5f 11 00 6e 0a 00 58 74 12 00 | .t..f..k..r.....t..|.._..n..Xt.. |
0800 | 7c 00 00 5f 11 00 64 00 00 53 28 08 00 00 00 4e 69 ff ff ff ff 74 01 00 00 00 3e 74 01 00 00 00 | |.._..d..S(....Ni....t....>t.... |
0820 | 3c 69 04 00 00 00 74 01 00 00 00 4c 69 00 00 00 00 69 08 00 00 00 28 13 00 00 00 74 06 00 00 00 | <i....t....Li....i....(....t.... |
0840 | 73 74 72 75 63 74 74 05 00 00 00 46 61 6c 73 65 74 06 00 00 00 63 6c 6f 73 65 64 74 05 00 00 00 | structt....Falset....closedt.... |
0860 | 61 6c 69 67 6e 74 04 00 00 00 66 69 6c 65 74 04 00 00 00 72 65 61 64 74 09 00 00 00 63 68 75 6e | alignt....filet....readt....chun |
0880 | 6b 6e 61 6d 65 74 03 00 00 00 6c 65 6e 74 08 00 00 00 45 4f 46 45 72 72 6f 72 74 06 00 00 00 75 | knamet....lent....EOFErrort....u |
08a0 | 6e 70 61 63 6b 74 09 00 00 00 63 68 75 6e 6b 73 69 7a 65 74 05 00 00 00 65 72 72 6f 72 74 09 00 | npackt....chunksizet....errort.. |
08c0 | 00 00 73 69 7a 65 5f 72 65 61 64 74 04 00 00 00 74 65 6c 6c 74 06 00 00 00 6f 66 66 73 65 74 74 | ..size_readt....tellt....offsett |
08e0 | 0e 00 00 00 41 74 74 72 69 62 75 74 65 45 72 72 6f 72 74 07 00 00 00 49 4f 45 72 72 6f 72 74 08 | ....AttributeErrort....IOErrort. |
0900 | 00 00 00 73 65 65 6b 61 62 6c 65 74 04 00 00 00 54 72 75 65 28 07 00 00 00 74 04 00 00 00 73 65 | ...seekablet....True(....t....se |
0920 | 6c 66 52 08 00 00 00 52 07 00 00 00 74 09 00 00 00 62 69 67 65 6e 64 69 61 6e 74 0a 00 00 00 69 | lfR....R....t....bigendiant....i |
0940 | 6e 63 6c 68 65 61 64 65 72 52 04 00 00 00 74 07 00 00 00 73 74 72 66 6c 61 67 28 00 00 00 00 28 | nclheaderR....t....strflag(....( |
0960 | 00 00 00 00 73 53 00 00 00 2f 74 6d 70 2f 6e 64 6b 2d 61 6e 64 72 65 77 68 73 69 65 68 2f 62 75 | ....sS.../tmp/ndk-andrewhsieh/bu |
0980 | 69 6c 64 68 6f 73 74 2f 69 6e 73 74 61 6c 6c 2f 70 72 65 62 75 69 6c 74 2f 6c 69 6e 75 78 2d 78 | ildhost/install/prebuilt/linux-x |
09a0 | 38 36 5f 36 34 2f 6c 69 62 2f 70 79 74 68 6f 6e 32 2e 37 2f 63 68 75 6e 6b 2e 70 79 74 08 00 00 | 86_64/lib/python2.7/chunk.pyt... |
09c0 | 00 5f 5f 69 6e 69 74 5f 5f 34 00 00 00 73 2c 00 00 00 00 01 0c 01 09 01 09 01 06 01 09 02 06 01 | .__init__4...s,................. |
09e0 | 09 01 12 01 15 01 09 01 03 01 2a 01 10 01 0a 01 06 01 13 01 09 01 03 01 16 01 13 01 0d 02 63 01 | ..........*...................c. |
0a00 | 00 00 00 01 00 00 00 01 00 00 00 43 00 00 00 73 07 00 00 00 7c 00 00 6a 00 00 53 28 01 00 00 00 | ...........C...s....|..j..S(.... |
0a20 | 73 2a 00 00 00 52 65 74 75 72 6e 20 74 68 65 20 6e 61 6d 65 20 28 49 44 29 20 6f 66 20 74 68 65 | s*...Return.the.name.(ID).of.the |
0a40 | 20 63 75 72 72 65 6e 74 20 63 68 75 6e 6b 2e 28 01 00 00 00 52 0a 00 00 00 28 01 00 00 00 52 17 | .current.chunk.(....R....(....R. |
0a60 | 00 00 00 28 00 00 00 00 28 00 00 00 00 73 53 00 00 00 2f 74 6d 70 2f 6e 64 6b 2d 61 6e 64 72 65 | ...(....(....sS.../tmp/ndk-andre |
0a80 | 77 68 73 69 65 68 2f 62 75 69 6c 64 68 6f 73 74 2f 69 6e 73 74 61 6c 6c 2f 70 72 65 62 75 69 6c | whsieh/buildhost/install/prebuil |
0aa0 | 74 2f 6c 69 6e 75 78 2d 78 38 36 5f 36 34 2f 6c 69 62 2f 70 79 74 68 6f 6e 32 2e 37 2f 63 68 75 | t/linux-x86_64/lib/python2.7/chu |
0ac0 | 6e 6b 2e 70 79 74 07 00 00 00 67 65 74 6e 61 6d 65 4e 00 00 00 73 02 00 00 00 00 02 63 01 00 00 | nk.pyt....getnameN...s......c... |
0ae0 | 00 01 00 00 00 01 00 00 00 43 00 00 00 73 07 00 00 00 7c 00 00 6a 00 00 53 28 01 00 00 00 73 25 | .........C...s....|..j..S(....s% |
0b00 | 00 00 00 52 65 74 75 72 6e 20 74 68 65 20 73 69 7a 65 20 6f 66 20 74 68 65 20 63 75 72 72 65 6e | ...Return.the.size.of.the.curren |
0b20 | 74 20 63 68 75 6e 6b 2e 28 01 00 00 00 52 0e 00 00 00 28 01 00 00 00 52 17 00 00 00 28 00 00 00 | t.chunk.(....R....(....R....(... |
0b40 | 00 28 00 00 00 00 73 53 00 00 00 2f 74 6d 70 2f 6e 64 6b 2d 61 6e 64 72 65 77 68 73 69 65 68 2f | .(....sS.../tmp/ndk-andrewhsieh/ |
0b60 | 62 75 69 6c 64 68 6f 73 74 2f 69 6e 73 74 61 6c 6c 2f 70 72 65 62 75 69 6c 74 2f 6c 69 6e 75 78 | buildhost/install/prebuilt/linux |
0b80 | 2d 78 38 36 5f 36 34 2f 6c 69 62 2f 70 79 74 68 6f 6e 32 2e 37 2f 63 68 75 6e 6b 2e 70 79 74 07 | -x86_64/lib/python2.7/chunk.pyt. |
0ba0 | 00 00 00 67 65 74 73 69 7a 65 52 00 00 00 73 02 00 00 00 00 02 63 01 00 00 00 01 00 00 00 02 00 | ...getsizeR...s......c.......... |
0bc0 | 00 00 43 00 00 00 73 23 00 00 00 7c 00 00 6a 00 00 73 1f 00 7c 00 00 6a 01 00 83 00 00 01 74 02 | ..C...s#...|..j..s..|..j......t. |
0be0 | 00 7c 00 00 5f 00 00 6e 00 00 64 00 00 53 28 01 00 00 00 4e 28 03 00 00 00 52 06 00 00 00 74 04 | .|.._..n..d..S(....N(....R....t. |
0c00 | 00 00 00 73 6b 69 70 52 16 00 00 00 28 01 00 00 00 52 17 00 00 00 28 00 00 00 00 28 00 00 00 00 | ...skipR....(....R....(....(.... |
0c20 | 73 53 00 00 00 2f 74 6d 70 2f 6e 64 6b 2d 61 6e 64 72 65 77 68 73 69 65 68 2f 62 75 69 6c 64 68 | sS.../tmp/ndk-andrewhsieh/buildh |
0c40 | 6f 73 74 2f 69 6e 73 74 61 6c 6c 2f 70 72 65 62 75 69 6c 74 2f 6c 69 6e 75 78 2d 78 38 36 5f 36 | ost/install/prebuilt/linux-x86_6 |
0c60 | 34 2f 6c 69 62 2f 70 79 74 68 6f 6e 32 2e 37 2f 63 68 75 6e 6b 2e 70 79 74 05 00 00 00 63 6c 6f | 4/lib/python2.7/chunk.pyt....clo |
0c80 | 73 65 56 00 00 00 73 06 00 00 00 00 01 09 01 0a 01 63 01 00 00 00 01 00 00 00 02 00 00 00 43 00 | seV...s..........c............C. |
0ca0 | 00 00 73 19 00 00 00 7c 00 00 6a 00 00 72 15 00 74 01 00 64 01 00 82 02 00 6e 00 00 74 02 00 53 | ..s....|..j..r..t..d.....n..t..S |
0cc0 | 28 02 00 00 00 4e 73 1c 00 00 00 49 2f 4f 20 6f 70 65 72 61 74 69 6f 6e 20 6f 6e 20 63 6c 6f 73 | (....Ns....I/O.operation.on.clos |
0ce0 | 65 64 20 66 69 6c 65 28 03 00 00 00 52 06 00 00 00 74 0a 00 00 00 56 61 6c 75 65 45 72 72 6f 72 | ed.file(....R....t....ValueError |
0d00 | 52 05 00 00 00 28 01 00 00 00 52 17 00 00 00 28 00 00 00 00 28 00 00 00 00 73 53 00 00 00 2f 74 | R....(....R....(....(....sS.../t |
0d20 | 6d 70 2f 6e 64 6b 2d 61 6e 64 72 65 77 68 73 69 65 68 2f 62 75 69 6c 64 68 6f 73 74 2f 69 6e 73 | mp/ndk-andrewhsieh/buildhost/ins |
0d40 | 74 61 6c 6c 2f 70 72 65 62 75 69 6c 74 2f 6c 69 6e 75 78 2d 78 38 36 5f 36 34 2f 6c 69 62 2f 70 | tall/prebuilt/linux-x86_64/lib/p |
0d60 | 79 74 68 6f 6e 32 2e 37 2f 63 68 75 6e 6b 2e 70 79 74 06 00 00 00 69 73 61 74 74 79 5b 00 00 00 | ython2.7/chunk.pyt....isatty[... |
0d80 | 73 06 00 00 00 00 01 09 01 0c 01 69 00 00 00 00 63 03 00 00 00 03 00 00 00 04 00 00 00 43 00 00 | s..........i....c............C.. |
0da0 | 00 73 ad 00 00 00 7c 00 00 6a 00 00 72 15 00 74 01 00 64 01 00 82 02 00 6e 00 00 7c 00 00 6a 02 | .s....|..j..r..t..d.....n..|..j. |
0dc0 | 00 73 2a 00 74 03 00 64 02 00 82 02 00 6e 00 00 7c 02 00 64 03 00 6b 02 00 72 46 00 7c 01 00 7c | .s*.t..d.....n..|..d..k..rF.|..| |
0de0 | 00 00 6a 04 00 17 7d 01 00 6e 1c 00 7c 02 00 64 04 00 6b 02 00 72 62 00 7c 01 00 7c 00 00 6a 05 | ..j...}..n..|..d..k..rb.|..|..j. |
0e00 | 00 17 7d 01 00 6e 00 00 7c 01 00 64 05 00 6b 00 00 73 7d 00 7c 01 00 7c 00 00 6a 05 00 6b 04 00 | ..}..n..|..d..k..s}.|..|..j..k.. |
0e20 | 72 86 00 74 06 00 82 01 00 6e 00 00 7c 00 00 6a 07 00 6a 08 00 7c 00 00 6a 09 00 7c 01 00 17 64 | r..t.....n..|..j..j..|..j..|...d |
0e40 | 05 00 83 02 00 01 7c 01 00 7c 00 00 5f 04 00 64 06 00 53 28 07 00 00 00 73 a6 00 00 00 53 65 65 | ......|..|.._..d..S(....s....See |
0e60 | 6b 20 74 6f 20 73 70 65 63 69 66 69 65 64 20 70 6f 73 69 74 69 6f 6e 20 69 6e 74 6f 20 74 68 65 | k.to.specified.position.into.the |
0e80 | 20 63 68 75 6e 6b 2e 0a 20 20 20 20 20 20 20 20 44 65 66 61 75 6c 74 20 70 6f 73 69 74 69 6f 6e | .chunk..........Default.position |
0ea0 | 20 69 73 20 30 20 28 73 74 61 72 74 20 6f 66 20 63 68 75 6e 6b 29 2e 0a 20 20 20 20 20 20 20 20 | .is.0.(start.of.chunk).......... |
0ec0 | 49 66 20 74 68 65 20 66 69 6c 65 20 69 73 20 6e 6f 74 20 73 65 65 6b 61 62 6c 65 2c 20 74 68 69 | If.the.file.is.not.seekable,.thi |
0ee0 | 73 20 77 69 6c 6c 20 72 65 73 75 6c 74 20 69 6e 20 61 6e 20 65 72 72 6f 72 2e 0a 20 20 20 20 20 | s.will.result.in.an.error....... |
0f00 | 20 20 20 73 1c 00 00 00 49 2f 4f 20 6f 70 65 72 61 74 69 6f 6e 20 6f 6e 20 63 6c 6f 73 65 64 20 | ...s....I/O.operation.on.closed. |
0f20 | 66 69 6c 65 73 0b 00 00 00 63 61 6e 6e 6f 74 20 73 65 65 6b 69 01 00 00 00 69 02 00 00 00 69 00 | files....cannot.seeki....i....i. |
0f40 | 00 00 00 4e 28 0a 00 00 00 52 06 00 00 00 52 20 00 00 00 52 15 00 00 00 52 14 00 00 00 52 10 00 | ...N(....R....R....R....R....R.. |
0f60 | 00 00 52 0e 00 00 00 74 0c 00 00 00 52 75 6e 74 69 6d 65 45 72 72 6f 72 52 08 00 00 00 74 04 00 | ..R....t....RuntimeErrorR....t.. |
0f80 | 00 00 73 65 65 6b 52 12 00 00 00 28 03 00 00 00 52 17 00 00 00 74 03 00 00 00 70 6f 73 74 06 00 | ..seekR....(....R....t....post.. |
0fa0 | 00 00 77 68 65 6e 63 65 28 00 00 00 00 28 00 00 00 00 73 53 00 00 00 2f 74 6d 70 2f 6e 64 6b 2d | ..whence(....(....sS.../tmp/ndk- |
0fc0 | 61 6e 64 72 65 77 68 73 69 65 68 2f 62 75 69 6c 64 68 6f 73 74 2f 69 6e 73 74 61 6c 6c 2f 70 72 | andrewhsieh/buildhost/install/pr |
0fe0 | 65 62 75 69 6c 74 2f 6c 69 6e 75 78 2d 78 38 36 5f 36 34 2f 6c 69 62 2f 70 79 74 68 6f 6e 32 2e | ebuilt/linux-x86_64/lib/python2. |
1000 | 37 2f 63 68 75 6e 6b 2e 70 79 52 23 00 00 00 60 00 00 00 73 18 00 00 00 00 06 09 01 0c 01 09 01 | 7/chunk.pyR#...`...s............ |
1020 | 0c 01 0c 01 10 01 0c 01 10 01 1b 01 09 01 1a 01 63 01 00 00 00 01 00 00 00 02 00 00 00 43 00 00 | ................c............C.. |
1040 | 00 73 1c 00 00 00 7c 00 00 6a 00 00 72 15 00 74 01 00 64 01 00 82 02 00 6e 00 00 7c 00 00 6a 02 | .s....|..j..r..t..d.....n..|..j. |
1060 | 00 53 28 02 00 00 00 4e 73 1c 00 00 00 49 2f 4f 20 6f 70 65 72 61 74 69 6f 6e 20 6f 6e 20 63 6c | .S(....Ns....I/O.operation.on.cl |
1080 | 6f 73 65 64 20 66 69 6c 65 28 03 00 00 00 52 06 00 00 00 52 20 00 00 00 52 10 00 00 00 28 01 00 | osed.file(....R....R....R....(.. |
10a0 | 00 00 52 17 00 00 00 28 00 00 00 00 28 00 00 00 00 73 53 00 00 00 2f 74 6d 70 2f 6e 64 6b 2d 61 | ..R....(....(....sS.../tmp/ndk-a |
10c0 | 6e 64 72 65 77 68 73 69 65 68 2f 62 75 69 6c 64 68 6f 73 74 2f 69 6e 73 74 61 6c 6c 2f 70 72 65 | ndrewhsieh/buildhost/install/pre |
10e0 | 62 75 69 6c 74 2f 6c 69 6e 75 78 2d 78 38 36 5f 36 34 2f 6c 69 62 2f 70 79 74 68 6f 6e 32 2e 37 | built/linux-x86_64/lib/python2.7 |
1100 | 2f 63 68 75 6e 6b 2e 70 79 52 11 00 00 00 73 00 00 00 73 06 00 00 00 00 01 09 01 0c 01 69 ff ff | /chunk.pyR....s...s..........i.. |
1120 | ff ff 63 02 00 00 00 04 00 00 00 05 00 00 00 43 00 00 00 73 f2 00 00 00 7c 00 00 6a 00 00 72 15 | ..c............C...s....|..j..r. |
1140 | 00 74 01 00 64 01 00 82 02 00 6e 00 00 7c 00 00 6a 02 00 7c 00 00 6a 03 00 6b 05 00 72 2b 00 64 | .t..d.....n..|..j..|..j..k..r+.d |
1160 | 02 00 53 7c 01 00 64 03 00 6b 00 00 72 4a 00 7c 00 00 6a 03 00 7c 00 00 6a 02 00 18 7d 01 00 6e | ..S|..d..k..rJ.|..j..|..j...}..n |
1180 | 00 00 7c 01 00 7c 00 00 6a 03 00 7c 00 00 6a 02 00 18 6b 04 00 72 73 00 7c 00 00 6a 03 00 7c 00 | ..|..|..j..|..j...k..rs.|..j..|. |
11a0 | 00 6a 02 00 18 7d 01 00 6e 00 00 7c 00 00 6a 04 00 6a 05 00 7c 01 00 83 01 00 7d 02 00 7c 00 00 | .j...}..n..|..j..j..|.....}..|.. |
11c0 | 6a 02 00 74 06 00 7c 02 00 83 01 00 17 7c 00 00 5f 02 00 7c 00 00 6a 02 00 7c 00 00 6a 03 00 6b | j..t..|......|.._..|..j..|..j..k |
11e0 | 02 00 72 ee 00 7c 00 00 6a 07 00 72 ee 00 7c 00 00 6a 03 00 64 04 00 40 72 ee 00 7c 00 00 6a 04 | ..r..|..j..r..|..j..d..@r..|..j. |
1200 | 00 6a 05 00 64 04 00 83 01 00 7d 03 00 7c 00 00 6a 02 00 74 06 00 7c 03 00 83 01 00 17 7c 00 00 | .j..d.....}..|..j..t..|......|.. |
1220 | 5f 02 00 6e 00 00 7c 02 00 53 28 05 00 00 00 73 81 00 00 00 52 65 61 64 20 61 74 20 6d 6f 73 74 | _..n..|..S(....s....Read.at.most |
1240 | 20 73 69 7a 65 20 62 79 74 65 73 20 66 72 6f 6d 20 74 68 65 20 63 68 75 6e 6b 2e 0a 20 20 20 20 | .size.bytes.from.the.chunk...... |
1260 | 20 20 20 20 49 66 20 73 69 7a 65 20 69 73 20 6f 6d 69 74 74 65 64 20 6f 72 20 6e 65 67 61 74 69 | ....If.size.is.omitted.or.negati |
1280 | 76 65 2c 20 72 65 61 64 20 75 6e 74 69 6c 20 74 68 65 20 65 6e 64 0a 20 20 20 20 20 20 20 20 6f | ve,.read.until.the.end.........o |
12a0 | 66 20 74 68 65 20 63 68 75 6e 6b 2e 0a 20 20 20 20 20 20 20 20 73 1c 00 00 00 49 2f 4f 20 6f 70 | f.the.chunk..........s....I/O.op |
12c0 | 65 72 61 74 69 6f 6e 20 6f 6e 20 63 6c 6f 73 65 64 20 66 69 6c 65 74 00 00 00 00 69 00 00 00 00 | eration.on.closed.filet....i.... |
12e0 | 69 01 00 00 00 28 08 00 00 00 52 06 00 00 00 52 20 00 00 00 52 10 00 00 00 52 0e 00 00 00 52 08 | i....(....R....R....R....R....R. |
1300 | 00 00 00 52 09 00 00 00 52 0b 00 00 00 52 07 00 00 00 28 04 00 00 00 52 17 00 00 00 74 04 00 00 | ...R....R....R....(....R....t... |
1320 | 00 73 69 7a 65 74 04 00 00 00 64 61 74 61 74 05 00 00 00 64 75 6d 6d 79 28 00 00 00 00 28 00 00 | .sizet....datat....dummy(....(.. |
1340 | 00 00 73 53 00 00 00 2f 74 6d 70 2f 6e 64 6b 2d 61 6e 64 72 65 77 68 73 69 65 68 2f 62 75 69 6c | ..sS.../tmp/ndk-andrewhsieh/buil |
1360 | 64 68 6f 73 74 2f 69 6e 73 74 61 6c 6c 2f 70 72 65 62 75 69 6c 74 2f 6c 69 6e 75 78 2d 78 38 36 | dhost/install/prebuilt/linux-x86 |
1380 | 5f 36 34 2f 6c 69 62 2f 70 79 74 68 6f 6e 32 2e 37 2f 63 68 75 6e 6b 2e 70 79 52 09 00 00 00 78 | _64/lib/python2.7/chunk.pyR....x |
13a0 | 00 00 00 73 20 00 00 00 00 06 09 01 0c 01 12 01 04 01 0c 01 13 01 16 01 13 01 12 01 16 01 12 01 | ...s............................ |
13c0 | 09 01 0d 01 12 01 19 01 63 01 00 00 00 03 00 00 00 05 00 00 00 43 00 00 00 73 e7 00 00 00 7c 00 | ........c............C...s....|. |
13e0 | 00 6a 00 00 72 15 00 74 01 00 64 01 00 82 02 00 6e 00 00 7c 00 00 6a 02 00 72 93 00 79 5e 00 7c | .j..r..t..d.....n..|..j..r..y^.| |
1400 | 00 00 6a 03 00 7c 00 00 6a 04 00 18 7d 01 00 7c 00 00 6a 05 00 72 54 00 7c 00 00 6a 03 00 64 02 | ..j..|..j...}..|..j..rT.|..j..d. |
1420 | 00 40 72 54 00 7c 01 00 64 02 00 17 7d 01 00 6e 00 00 7c 00 00 6a 06 00 6a 07 00 7c 01 00 64 02 | .@rT.|..d...}..n..|..j..j..|..d. |
1440 | 00 83 02 00 01 7c 00 00 6a 04 00 7c 01 00 17 7c 00 00 5f 04 00 64 03 00 53 57 71 93 00 04 74 08 | .....|..j..|...|.._..d..SWq...t. |
1460 | 00 6b 0a 00 72 8f 00 01 01 01 71 93 00 58 6e 00 00 78 4d 00 7c 00 00 6a 04 00 7c 00 00 6a 03 00 | .k..r.....q..Xn..xM.|..j..|..j.. |
1480 | 6b 00 00 72 e2 00 74 09 00 64 04 00 7c 00 00 6a 03 00 7c 00 00 6a 04 00 18 83 02 00 7d 01 00 7c | k..r..t..d..|..j..|..j......}..| |
14a0 | 00 00 6a 0a 00 7c 01 00 83 01 00 7d 02 00 7c 02 00 73 96 00 74 0b 00 82 01 00 71 96 00 71 96 00 | ..j..|.....}..|..s..t.....q..q.. |
14c0 | 57 64 03 00 53 28 05 00 00 00 73 c9 00 00 00 53 6b 69 70 20 74 68 65 20 72 65 73 74 20 6f 66 20 | Wd..S(....s....Skip.the.rest.of. |
14e0 | 74 68 65 20 63 68 75 6e 6b 2e 0a 20 20 20 20 20 20 20 20 49 66 20 79 6f 75 20 61 72 65 20 6e 6f | the.chunk..........If.you.are.no |
1500 | 74 20 69 6e 74 65 72 65 73 74 65 64 20 69 6e 20 74 68 65 20 63 6f 6e 74 65 6e 74 73 20 6f 66 20 | t.interested.in.the.contents.of. |
1520 | 74 68 65 20 63 68 75 6e 6b 2c 0a 20 20 20 20 20 20 20 20 74 68 69 73 20 6d 65 74 68 6f 64 20 73 | the.chunk,.........this.method.s |
1540 | 68 6f 75 6c 64 20 62 65 20 63 61 6c 6c 65 64 20 73 6f 20 74 68 61 74 20 74 68 65 20 66 69 6c 65 | hould.be.called.so.that.the.file |
1560 | 20 70 6f 69 6e 74 73 20 74 6f 0a 20 20 20 20 20 20 20 20 74 68 65 20 73 74 61 72 74 20 6f 66 20 | .points.to.........the.start.of. |
1580 | 74 68 65 20 6e 65 78 74 20 63 68 75 6e 6b 2e 0a 20 20 20 20 20 20 20 20 73 1c 00 00 00 49 2f 4f | the.next.chunk..........s....I/O |
15a0 | 20 6f 70 65 72 61 74 69 6f 6e 20 6f 6e 20 63 6c 6f 73 65 64 20 66 69 6c 65 69 01 00 00 00 4e 69 | .operation.on.closed.filei....Ni |
15c0 | 00 20 00 00 28 0c 00 00 00 52 06 00 00 00 52 20 00 00 00 52 15 00 00 00 52 0e 00 00 00 52 10 00 | ....(....R....R....R....R....R.. |
15e0 | 00 00 52 07 00 00 00 52 08 00 00 00 52 23 00 00 00 52 14 00 00 00 74 03 00 00 00 6d 69 6e 52 09 | ..R....R....R#...R....t....minR. |
1600 | 00 00 00 52 0c 00 00 00 28 03 00 00 00 52 17 00 00 00 74 01 00 00 00 6e 52 29 00 00 00 28 00 00 | ...R....(....R....t....nR)...(.. |
1620 | 00 00 28 00 00 00 00 73 53 00 00 00 2f 74 6d 70 2f 6e 64 6b 2d 61 6e 64 72 65 77 68 73 69 65 68 | ..(....sS.../tmp/ndk-andrewhsieh |
1640 | 2f 62 75 69 6c 64 68 6f 73 74 2f 69 6e 73 74 61 6c 6c 2f 70 72 65 62 75 69 6c 74 2f 6c 69 6e 75 | /buildhost/install/prebuilt/linu |
1660 | 78 2d 78 38 36 5f 36 34 2f 6c 69 62 2f 70 79 74 68 6f 6e 32 2e 37 2f 63 68 75 6e 6b 2e 70 79 52 | x-x86_64/lib/python2.7/chunk.pyR |
1680 | 1e 00 00 00 8f 00 00 00 73 22 00 00 00 00 07 09 01 0c 01 09 01 03 01 10 02 16 01 0d 01 13 01 10 | ........s"...................... |
16a0 | 01 08 01 0d 01 07 01 15 01 19 01 0f 01 06 01 28 0d 00 00 00 74 08 00 00 00 5f 5f 6e 61 6d 65 5f | ...............(....t....__name_ |
16c0 | 5f 74 0a 00 00 00 5f 5f 6d 6f 64 75 6c 65 5f 5f 52 16 00 00 00 52 05 00 00 00 52 1b 00 00 00 52 | _t....__module__R....R....R....R |
16e0 | 1c 00 00 00 52 1d 00 00 00 52 1f 00 00 00 52 21 00 00 00 52 23 00 00 00 52 11 00 00 00 52 09 00 | ....R....R....R!...R#...R....R.. |
1700 | 00 00 52 1e 00 00 00 28 00 00 00 00 28 00 00 00 00 28 00 00 00 00 73 53 00 00 00 2f 74 6d 70 2f | ..R....(....(....(....sS.../tmp/ |
1720 | 6e 64 6b 2d 61 6e 64 72 65 77 68 73 69 65 68 2f 62 75 69 6c 64 68 6f 73 74 2f 69 6e 73 74 61 6c | ndk-andrewhsieh/buildhost/instal |
1740 | 6c 2f 70 72 65 62 75 69 6c 74 2f 6c 69 6e 75 78 2d 78 38 36 5f 36 34 2f 6c 69 62 2f 70 79 74 68 | l/prebuilt/linux-x86_64/lib/pyth |
1760 | 6f 6e 32 2e 37 2f 63 68 75 6e 6b 2e 70 79 52 00 00 00 00 33 00 00 00 73 12 00 00 00 06 01 12 1a | on2.7/chunk.pyR....3...s........ |
1780 | 09 04 09 04 09 05 09 05 0c 13 09 05 0c 17 4e 28 00 00 00 00 28 02 00 00 00 74 07 00 00 00 5f 5f | ..............N(....(....t....__ |
17a0 | 64 6f 63 5f 5f 52 00 00 00 00 28 00 00 00 00 28 00 00 00 00 28 00 00 00 00 73 53 00 00 00 2f 74 | doc__R....(....(....(....sS.../t |
17c0 | 6d 70 2f 6e 64 6b 2d 61 6e 64 72 65 77 68 73 69 65 68 2f 62 75 69 6c 64 68 6f 73 74 2f 69 6e 73 | mp/ndk-andrewhsieh/buildhost/ins |
17e0 | 74 61 6c 6c 2f 70 72 65 62 75 69 6c 74 2f 6c 69 6e 75 78 2d 78 38 36 5f 36 34 2f 6c 69 62 2f 70 | tall/prebuilt/linux-x86_64/lib/p |
1800 | 79 74 68 6f 6e 32 2e 37 2f 63 68 75 6e 6b 2e 70 79 74 08 00 00 00 3c 6d 6f 64 75 6c 65 3e 31 00 | ython2.7/chunk.pyt....<module>1. |
1820 | 00 00 73 02 00 00 00 06 02 | ..s...... |