28 references to ArchiveStream
System.IO.Compression (28)
System\IO\Compression\ZipArchiveEntry.cs (28)
381_archive.ArchiveStream.Seek(_offsetOfLocalHeader, SeekOrigin.Begin);
386_storedOffsetOfCompressedData = _archive.ArchiveStream.Position;
472BinaryWriter writer = new BinaryWriter(_archive.ArchiveStream);
564zip64ExtraField.WriteBlock(_archive.ArchiveStream);
566ZipGenericExtraField.WriteAllBlocks(_cdUnknownExtraFields, _archive.ArchiveStream);
582_archive.ArchiveStream.Seek(_offsetOfLocalHeader, SeekOrigin.Begin);
600_archive.ArchiveStream.Seek(OffsetOfCompressedData, SeekOrigin.Begin);
604ZipHelper.ReadBytes(_archive.ArchiveStream, _compressedBytes[i], MaxSingleBufferSize);
606ZipHelper.ReadBytes(_archive.ArchiveStream, _compressedBytes[_compressedBytes.Length - 1], (int)(_compressedSize % MaxSingleBufferSize));
698Stream compressedStream = new SubReadStream(_archive.ArchiveStream, OffsetOfCompressedData, _compressedSize);
711CheckSumAndSizeWriteStream crcSizeStream = GetDataCompressor(_archive.ArchiveStream, true, (object? o, EventArgs e) =>
774if (_offsetOfLocalHeader > _archive.ArchiveStream.Length)
780_archive.ArchiveStream.Seek(_offsetOfLocalHeader, SeekOrigin.Begin);
787if (OffsetOfCompressedData + _compressedSize > _archive.ArchiveStream.Length)
861BinaryWriter writer = new BinaryWriter(_archive.ArchiveStream);
889if (_archive.Mode == ZipArchiveMode.Create && _archive.ArchiveStream.CanSeek == false)
956zip64ExtraField.WriteBlock(_archive.ArchiveStream);
958ZipGenericExtraField.WriteAllBlocks(_lhUnknownExtraFields, _archive.ArchiveStream);
975GetDataCompressor(_archive.ArchiveStream, true, null),
1000_archive.ArchiveStream.Write(compressedBytes, 0, compressedBytes.Length);
1020long finalPosition = _archive.ArchiveStream.Position;
1021BinaryWriter writer = new BinaryWriter(_archive.ArchiveStream);
1043_archive.ArchiveStream.Seek(_offsetOfLocalHeader + ZipLocalFileHeader.OffsetToVersionFromHeaderStart,
1051_archive.ArchiveStream.Seek(_offsetOfLocalHeader + ZipLocalFileHeader.OffsetToCrcFromHeaderStart,
1074_archive.ArchiveStream.Seek(_offsetOfLocalHeader + ZipLocalFileHeader.SizeOfLocalHeader
1082_archive.ArchiveStream.Seek(finalPosition, SeekOrigin.Begin);
1103BinaryWriter writer = new BinaryWriter(_archive.ArchiveStream);
1352if (_entry._archive.ArchiveStream.CanSeek)