Skip to content

Commit e4638ff

Browse files
authored
Apply feedback
1 parent e69dc63 commit e4638ff

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Documentation/compatibility/deflatestream-uses-native-apis-for-decompression.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ NotPlanned
1111

1212
### Change Description
1313

14-
Starting with the .NET Framework 4.7.2, the implementation of decompression in the `T:System.IO.Compression.DeflateStream` class has changed to use native Windows APIs by default. Typically, this results in a substantial performance improvement. All .NET applications targeting .NET Framework version 4.7.2 or higher will now use the native implementation.
14+
Starting with the .NET Framework 4.7.2, the implementation of decompression in the `T:System.IO.Compression.DeflateStream` class has changed to use native Windows APIs by default. Typically, this results in a substantial performance improvement. All .NET applications targeting the .NET Framework version 4.7.2 or higher use the native implementation.
1515

1616
This change might result in some differences in behavior, which include:
1717

1818
- Exception messages may be different. However, the type of exception thrown remains the same.
1919
- Some special situations, such as not having enough memory to complete an operation, may be handled differently.
2020
- There are known differences for parsing gzip header (note: only `GZipStream` set for decompression is affected):
21-
- Exceptions during parsing invalid headers may be thrown at different times.
22-
- Native implementation enforces that values for some reserved flags inside the gzip header (i.e. [FLG](http://www.zlib.org/rfc-gzip.html#header-trailer)) are set according to specification which may cause it to throw an exception where previously invalid values were ignored.
21+
- Exceptions when parsing invalid headers may be thrown at different times.
22+
- The native implementation enforces that values for some reserved flags inside the gzip header (i.e. [FLG](http://www.zlib.org/rfc-gzip.html#header-trailer)) are set according to the specification, which may cause it to throw an exception where previously invalid values were ignored.
2323

2424
- [X] Quirked
2525
- [ ] Build-time break

0 commit comments

Comments
 (0)