diff --git a/xml/System.IO.Compression/BrotliCompressionOptions.xml b/xml/System.IO.Compression/BrotliCompressionOptions.xml index eda3aae2103..dbd8661ba66 100644 --- a/xml/System.IO.Compression/BrotliCompressionOptions.xml +++ b/xml/System.IO.Compression/BrotliCompressionOptions.xml @@ -14,7 +14,7 @@ - To be added. + Provides compression options to be used with . To be added. @@ -51,9 +51,10 @@ System.Int32 - To be added. - To be added. - To be added. + Gets or sets the compression quality for a Brotli compression stream. + The compression quality for a Brotli compression stream. The default value is 4. + The higher the quality, the slower the compression. The range is from 0 to 11. + The value is less than 0 or greater than 11. diff --git a/xml/System.IO.Compression/BrotliStream.xml b/xml/System.IO.Compression/BrotliStream.xml index a7c70f0fa65..8419cd6bfbc 100644 --- a/xml/System.IO.Compression/BrotliStream.xml +++ b/xml/System.IO.Compression/BrotliStream.xml @@ -77,6 +77,8 @@ Initializes a new instance of the class by using the specified stream and compression level. To be added. .NET 7 and later: is not defined in the enumeration. + + is . @@ -132,11 +134,14 @@ - To be added. - To be added. - To be added. - To be added. + The stream to which compressed data is written. + The Brotli options for fine tuning the compression stream. + + to leave the stream open after disposing the object; otherwise, . + Initializes a new instance of the class by using the specified stream and compression options, and optionally leaves the stream open. To be added. + + or is . @@ -174,6 +179,8 @@ Initializes a new instance of the class by using the specified stream and compression level, and optionally leaves the stream open. To be added. .NET 7 and later: is not defined in the enumeration. + + is . diff --git a/xml/System.IO.Compression/DeflateStream.xml b/xml/System.IO.Compression/DeflateStream.xml index bd7e1ec71aa..d6b2c69fc0b 100644 --- a/xml/System.IO.Compression/DeflateStream.xml +++ b/xml/System.IO.Compression/DeflateStream.xml @@ -362,11 +362,14 @@ You use this constructor when you want to specify whether compression efficiency - To be added. - To be added. - To be added. - To be added. + The stream to which compressed data is written. + The options for fine tuning the compression stream. + + to leave the stream object open after disposing the object; otherwise, + Initializes a new instance of the class by using the specified stream, compression options, and optionally leaves the stream open. To be added. + + or is . diff --git a/xml/System.IO.Compression/GZipStream.xml b/xml/System.IO.Compression/GZipStream.xml index 65612798e8f..cf953f70817 100644 --- a/xml/System.IO.Compression/GZipStream.xml +++ b/xml/System.IO.Compression/GZipStream.xml @@ -387,11 +387,14 @@ By default, the compression level is set to - To be added. - To be added. - To be added. - To be added. + The stream to which compressed data is written. + The options for fine tuning the compression stream. + + to leave the stream object open after disposing the object; otherwise, . + Initializes a new instance of the class by using the specified stream, compression options, and optionally leaves the stream open. To be added. + + or is . diff --git a/xml/System.IO.Compression/ZLibCompressionOptions.xml b/xml/System.IO.Compression/ZLibCompressionOptions.xml index 0dad67791c9..8f3ada755e6 100644 --- a/xml/System.IO.Compression/ZLibCompressionOptions.xml +++ b/xml/System.IO.Compression/ZLibCompressionOptions.xml @@ -14,7 +14,7 @@ - To be added. + Provides compression options to be used with , , and . To be added. @@ -51,9 +51,13 @@ System.Int32 - To be added. - To be added. - To be added. + Gets or sets the compression level for a compression stream. + The compression level for a compression stream. The default value is -1. + + Can accept any value between -1 and 9 (inclusive). 0 gives no compression, 1 gives best speed, 9 gives best compression, + and -1 requests the default compression level, which is equivalent to 6. + + The value is less than -1 or greater than 9. @@ -72,9 +76,10 @@ System.IO.Compression.ZLibCompressionStrategy - To be added. + Gets or sets the compression algorithm for a compression stream. To be added. To be added. + The value is not a valid value. diff --git a/xml/System.IO.Compression/ZLibCompressionStrategy.xml b/xml/System.IO.Compression/ZLibCompressionStrategy.xml index 5bff34de5c3..d4bfd840a43 100644 --- a/xml/System.IO.Compression/ZLibCompressionStrategy.xml +++ b/xml/System.IO.Compression/ZLibCompressionStrategy.xml @@ -13,7 +13,7 @@ System.Enum - To be added. + Defines the compression algorithms that can be used for , , and . To be added. @@ -34,7 +34,7 @@ 0 - To be added. + Used for normal data. @@ -54,7 +54,9 @@ 1 - To be added. + + Used for data produced by a filter (or predictor). The effect of Filtered is to force more Huffman coding and less string matching; it's an intermediate between Default and HuffmanOnly. + @@ -74,7 +76,7 @@ 4 - To be added. + Prevents the use of dynamic Huffman codes, allowing for a simpler decoder for special applications. @@ -94,7 +96,7 @@ 2 - To be added. + Used to force Huffman encoding only (no string match). @@ -114,7 +116,7 @@ 3 - To be added. + Used to limit match distances to one (run-length encoding). Gives better compression for PNG image data. diff --git a/xml/System.IO.Compression/ZLibStream.xml b/xml/System.IO.Compression/ZLibStream.xml index d198e01e82a..3a8215c0c57 100644 --- a/xml/System.IO.Compression/ZLibStream.xml +++ b/xml/System.IO.Compression/ZLibStream.xml @@ -158,11 +158,14 @@ - To be added. - To be added. - To be added. - To be added. + The stream to which compressed data is written. + The ZLib options for fine tuning the compression stream. + + to leave the stream object open after disposing the object; otherwise, . + Initializes a new instance of the class by using the specified stream and compression options, and optionally leaves the stream open. To be added. + + or is .