Method Convert2.DeflateDecompress(+ 1 overload)
Overload
Decompresses data. Uses System.IO.Compression.DeflateStream.
public static byte[] DeflateDecompress(ReadOnlySpan<byte> compressed)
Parameters
compressed (ReadOnlySpan<byte>)
Compressed data. |
Returns
byte[]
Decompressed data. |
Exceptions
Exception
Exceptions of DeflateStream. |
Overload(top)
Decompresses data to a caller-provided memory stream. Uses System.IO.Compression.DeflateStream.
public static void DeflateDecompress(ReadOnlySpan<byte> compressed, Stream decompressed)
Parameters
compressed (ReadOnlySpan<byte>)
Compressed data. |
decompressed (Stream)
Stream for decompressed data. |
Exceptions
Exception
Exceptions of DeflateStream. |