Lines Matching refs:reader

2284         var signature = this.reader.readString(4);
2293 this.diskNumber = this.reader.readInt(2);
2294 this.diskWithCentralDirStart = this.reader.readInt(2);
2295 this.centralDirRecordsOnThisDisk = this.reader.readInt(2);
2296 this.centralDirRecords = this.reader.readInt(2);
2297 this.centralDirSize = this.reader.readInt(4);
2298 this.centralDirOffset = this.reader.readInt(4);
2300 this.zipCommentLength = this.reader.readInt(2);
2304 this.zipComment = this.reader.readString(this.zipCommentLength);
2316 this.zip64EndOfCentralSize = this.reader.readInt(8);
2317 this.versionMadeBy = this.reader.readString(2);
2318 this.versionNeeded = this.reader.readInt(2);
2319 this.diskNumber = this.reader.readInt(4);
2320 this.diskWithCentralDirStart = this.reader.readInt(4);
2321 this.centralDirRecordsOnThisDisk = this.reader.readInt(8);
2322 this.centralDirRecords = this.reader.readInt(8);
2323 this.centralDirSize = this.reader.readInt(8);
2324 this.centralDirOffset = this.reader.readInt(8);
2333 extraFieldId = this.reader.readInt(2);
2334 extraFieldLength = this.reader.readInt(4);
2335 extraFieldValue = this.reader.readString(extraFieldLength);
2347 this.diskWithZip64CentralDirStart = this.reader.readInt(4);
2348 this.relativeOffsetEndOfZip64CentralDir = this.reader.readInt(8);
2349 this.disksCount = this.reader.readInt(4);
2361 this.reader.setIndex(file.localHeaderOffset);
2363 file.readLocalPart(this.reader);
2374 this.reader.setIndex(this.centralDirOffset);
2375 while (this.reader.readString(4) === sig.CENTRAL_FILE_HEADER) {
2379 file.readCentralPart(this.reader);
2387 var offset = this.reader.lastIndexOfSignature(sig.CENTRAL_DIRECTORY_END);
2396 this.reader.setIndex(0);
2408 this.reader.setIndex(offset);
2436 offset = this.reader.lastIndexOfSignature(sig.ZIP64_CENTRAL_DIRECTORY_LOCATOR);
2440 this.reader.setIndex(offset);
2445 this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir);
2453 this.reader = new StringReader(data, this.loadOptions.optimizedBinaryString);
2456 this.reader = new NodeBufferReader(data);
2459 this.reader = new Uint8ArrayReader(utils.transformTo("uint8array", data));
2521 prepareCompressedContent: function(reader, from, length) { argument
2523 var previousIndex = reader.index;
2524 reader.setIndex(from);
2525 var compressedFileData = reader.readData(length);
2526 reader.setIndex(previousIndex);
2540 prepareContent: function(reader, from, length, compression, uncompressedSize) { argument
2557 readLocalPart: function(reader) { argument
2565 reader.skip(22);
2577 this.fileNameLength = reader.readInt(2);
2578 …localExtraFieldsLength = reader.readInt(2); // can't be sure this will be the same as the central …
2579 this.fileName = reader.readString(this.fileNameLength);
2580 reader.skip(localExtraFieldsLength);
2595 …this.decompressed.getCompressedContent = this.prepareCompressedContent(reader, reader.index, this.…
2596 …this.decompressed.getContent = this.prepareContent(reader, reader.index, this.compressedSize, comp…
2611 readCentralPart: function(reader) { argument
2612 this.versionMadeBy = reader.readInt(2);
2613 this.versionNeeded = reader.readInt(2);
2614 this.bitFlag = reader.readInt(2);
2615 this.compressionMethod = reader.readString(2);
2616 this.date = reader.readDate();
2617 this.crc32 = reader.readInt(4);
2618 this.compressedSize = reader.readInt(4);
2619 this.uncompressedSize = reader.readInt(4);
2620 this.fileNameLength = reader.readInt(2);
2621 this.extraFieldsLength = reader.readInt(2);
2622 this.fileCommentLength = reader.readInt(2);
2623 this.diskNumberStart = reader.readInt(2);
2624 this.internalFileAttributes = reader.readInt(2);
2625 this.externalFileAttributes = reader.readInt(4);
2626 this.localHeaderOffset = reader.readInt(4);
2632 this.fileName = reader.readString(this.fileNameLength);
2633 this.readExtraFields(reader);
2634 this.parseZIP64ExtraField(reader);
2635 this.fileComment = reader.readString(this.fileCommentLength);
2671 parseZIP64ExtraField: function(reader) { argument
2699 readExtraFields: function(reader) { argument
2700 var start = reader.index,
2707 while (reader.index < start + this.extraFieldsLength) {
2708 extraFieldId = reader.readInt(2);
2709 extraFieldLength = reader.readInt(2);
2710 extraFieldValue = reader.readString(extraFieldLength);