You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: xml/System.IO.Compression/GZipStream.xml
+9-8Lines changed: 9 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -980,16 +980,17 @@ Calling `DisposeAsync` allows the resources used by the <xref:System.IO.Compress
980
980
</ReturnValue>
981
981
<Parameters />
982
982
<Docs>
983
-
<summary>The current implementation of this method has no functionality.</summary>
983
+
<summary>Flushes the internal buffers.</summary>
984
984
<remarks>
985
-
<formattype="text/markdown"><![CDATA[
986
-
987
-
## Remarks
988
-
The current implementation of this method does not flush the internal buffer. The internal buffer is flushed when the object is disposed.
989
-
990
-
]]></format>
985
+
<formattype="text/markdown"><![CDATA[
986
+
987
+
## Remarks
988
+
989
+
This method flushes only if the current compression mode is <xref:System.IO.Compression.CompressionMode.Compress> and the underlying stream still has some input left to write.
990
+
991
+
]]></format>
991
992
</remarks>
992
-
<exceptioncref="T:System.ObjectDisposedException">The stream is closed.</exception>
993
+
<exceptioncref="T:System.ObjectDisposedException">The underlying stream is closed.</exception>
0 commit comments