IO.Compression API inventory
Provides compression streams and codecs over ZLIB for Deflate, GZip, and related compression modes.
Ownership and selection
| Fact | Pinned value |
|---|---|
| Physical owner | modules/io-compression |
| CMake target | SharpRuntime::IO.Compression |
| Component kind | static |
| Direct production dependencies | Buffers, Core.Base, IO |
| External dependency | ZLIB (private) |
| Public headers | 14 |
| Production sources | 10 |
Select the component
set(SHARP_RUNTIME_COMPONENTS IO.Compression)
set(SHARP_RUNTIME_BUILD_TESTS OFF CACHE BOOL "" FORCE)
add_subdirectory(sharp-runtime)
target_link_libraries(app PRIVATE SharpRuntime::IO.Compression)Compatibility and platform notes
Requires ZLIB and links it privately. Stream ownership, flush/finalization, and invalid input errors follow native resource rules.
Implementation-status evidence
The owning module contains 5 C++ test sources and participates in a physical component test executable. Source-file count is not a discovered-test count.
This page deliberately reports source and test topology instead of a hand-authored Done/Partial maturity badge. Consult limitations and subsystem documentation for material behavioral reductions.
Public header and entry inventory
This complete list is derived from modules/io-compression/include. Each filename is a public discovery entry; it may declare more than one type, and it does not imply method-level .NET parity.
System::IO::Compression14 public headers
System/IO/Compression/CompressionArgumentValidation.hppSystem/IO/Compression/CompressionMode.hppSystem/IO/Compression/DeflateDecoder.hppSystem/IO/Compression/DeflateEncoder.hppSystem/IO/Compression/DeflateStream.hppSystem/IO/Compression/GZipDecoder.hppSystem/IO/Compression/GZipEncoder.hppSystem/IO/Compression/GZipStream.hppSystem/IO/Compression/ZLibCompressionOptions.hppSystem/IO/Compression/ZLibCompressionStrategy.hppSystem/IO/Compression/ZLibDecoder.hppSystem/IO/Compression/ZLibEncoder.hppSystem/IO/Compression/ZLibException.hppSystem/IO/Compression/ZLibStream.hpp