GZip.Decompress(Byte[], Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Decompress a byte array that was compressed using the GZip algorithm.
static std::Array <byte> Decompress(std::Array <byte> const & data, int bufferSize = 4096);
public static byte[] Decompress (byte[] data, int bufferSize = 4096);
static member Decompress : byte[] * int -> byte[]
Public Shared Function Decompress (data As Byte(), Optional bufferSize As Integer = 4096) As Byte()
Parameters
- data
- Byte[]
Array to decompress.
- bufferSize
- Int32
Size of the intermediate buffer used to decompress data.
Returns
Byte[]
Decompressed byte array.