Add documentation for NonDisposingStream class

Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-12-02 09:37:51 +00:00
parent 6efb8be03a
commit 42bbfa08a9

View File

@@ -807,6 +807,8 @@ public class ZipWriter : AbstractWriter
/// <summary>
/// A stream wrapper that doesn't dispose the underlying stream when disposed.
/// This is used in encryption scenarios where the crypto stream would otherwise
/// dispose the counting stream prematurely, before we can read the final count.
/// </summary>
private class NonDisposingStream : Stream
{