¡@

Home 

2014/10/16 ¤W¤È 08:11:06

android Programming Glossary: cde_offset

Cannot extract file from ZIP archive created on Android (device/OS specific)

http://stackoverflow.com/questions/11039079/cannot-extract-file-from-zip-archive-created-on-android-device-os-specific

0 r.seek eocd_offset 16 offset of first CDE in EOCD long cde_offset readInt r read offset of first Central Directory Entry long.. long lfh_offset 0 long fskip dskip while true r.seek cde_offset if readInt r CDE_SIGNATURE got off sync return r.seek cde_offset.. if readInt r CDE_SIGNATURE got off sync return r.seek cde_offset 20 compressed file size offset fskip readInt r fix the header..

Cannot extract file from ZIP archive created on Android (device/OS specific)

http://stackoverflow.com/questions/11039079/cannot-extract-file-from-zip-archive-created-on-android-device-os-specific

rw try long eocd_offset findEOCDRecord r if eocd_offset 0 r.seek eocd_offset 16 offset of first CDE in EOCD long cde_offset readInt r read offset of first Central Directory Entry long lfh_offset 0 long fskip dskip while true r.seek cde_offset.. readInt r read offset of first Central Directory Entry long lfh_offset 0 long fskip dskip while true r.seek cde_offset if readInt r CDE_SIGNATURE got off sync return r.seek cde_offset 20 compressed file size offset fskip readInt r fix.. lfh_offset 0 long fskip dskip while true r.seek cde_offset if readInt r CDE_SIGNATURE got off sync return r.seek cde_offset 20 compressed file size offset fskip readInt r fix the header r.seek lfh_offset 7 short localFlagsHi r.readByte hi..