KrPartDecompression.CreateDecodedStream method

Wraps a stream in a decompression stream based on the content encoding.

public static (Stream Stream, string Encoding) CreateDecodedStream(Stream source, 
    string? contentEncoding)
parameter description
source The source stream.
contentEncoding The content encoding header value.

Return Value

The decoded stream and normalized encoding.

See Also