658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
|
[_stream writeLittleEndianInt64: _centralDirectoryOffset];
/* ZIP64 end of central directory locator */
[_stream writeLittleEndianInt32: 0x07064B50];
[_stream writeLittleEndianInt32: _diskNumber];
[_stream writeLittleEndianInt64:
_centralDirectoryOffset + _centralDirectorySize];
[_stream writeLittleEndianInt32: 1]; /* Total number of disks */
/* End of central directory */
[_stream writeLittleEndianInt32: 0x06054B50];
[_stream writeLittleEndianInt16: 0xFFFF]; /* Disk number */
[_stream writeLittleEndianInt16: 0xFFFF]; /* CD disk */
[_stream writeLittleEndianInt16: 0xFFFF]; /* CD entries in disk */
[_stream writeLittleEndianInt16: 0xFFFF]; /* CD entries */
|
|
|
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
|
[_stream writeLittleEndianInt64: _centralDirectoryOffset];
/* ZIP64 end of central directory locator */
[_stream writeLittleEndianInt32: 0x07064B50];
[_stream writeLittleEndianInt32: _diskNumber];
[_stream writeLittleEndianInt64:
_centralDirectoryOffset + _centralDirectorySize];
[_stream writeLittleEndianInt32: 0]; /* Total number of disks */
/* End of central directory */
[_stream writeLittleEndianInt32: 0x06054B50];
[_stream writeLittleEndianInt16: 0xFFFF]; /* Disk number */
[_stream writeLittleEndianInt16: 0xFFFF]; /* CD disk */
[_stream writeLittleEndianInt16: 0xFFFF]; /* CD entries in disk */
[_stream writeLittleEndianInt16: 0xFFFF]; /* CD entries */
|