private FinishOutputStream ( Stream s, |
||
s | Stream | |
entryCounter | ||
encryptor | Stream | |
compressor | Stream | |
output | Ionic | |
return | void |
private void _FinishCurrentEntry() { if (_currentEntry != null) { if (_needToWriteEntryHeader) { _InitiateCurrentEntry(finishing: true); } _currentEntry.FinishOutputStream(_outputStream, _outputCounter, _encryptor, _deflater, _entryOutputStream); _currentEntry.PostProcessOutput(_outputStream); if (_currentEntry.OutputUsedZip64.HasValue) { _anyEntriesUsedZip64 |= _currentEntry.OutputUsedZip64.Value; } _outputCounter = null; _encryptor = (_deflater = null); _entryOutputStream = null; } }