Skip to content

The DeflateStream.Flush() implementation DOES have functionality on .net 10 #12755

@poizan42

Description

@poizan42

Type of issue

Other (describe below)

Description

The documentation claims DeflateStream.Flush() has no functionality. The actual source code disagrees with what very much looks like an implementation that calls FlushBuffers() when compressing:

https://github.com/dotnet/runtime/blob/5eaa18a9f3398d54ba9b8c0974d88171663be892/src/libraries/System.IO.Compression/src/System/IO/Compression/DeflateZLib/DeflateStream.cs#L197

Page URL

https://learn.microsoft.com/en-us/dotnet/api/system.io.compression.deflatestream.flush?view=net-10.0

Content source URL

https://github.com/dotnet/dotnet-api-docs-temp/blob/live/xml/System.IO.Compression/DeflateStream.xml

Document Version Independent Id

29d985b1-155e-04b5-be13-201d0947559e

Platform Id

94f3b4d6-9c3c-4d04-bc2e-1debbe55ab55

Article author

@dotnet-bot

Metadata

Metadata

Labels

Type

No type
No fields configured for issues without a type.

Projects

Status
👀 In review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions