This documentation is for the old version. Go to the latest Graphics Mill docs

ZipCompressor.Decompress Method (Byte[], Int32)

Decompresses given array which contains data compressed with the deflate algorithm (ZIP). Use this overload if you know the size of decompressed data to optimize a performance.

Namespace: Aurigma.GraphicsMill
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

Visual Basic
Public Shared Function Decompress ( _
	compressedData As Byte(), _
	decompressedSize As Integer _
) As Byte()
C#
public static byte[] Decompress(
	byte[] compressedData,
	int decompressedSize
)

Parameters

compressedData

Type: System.Byte []

A byte array which contains compressed data.
decompressedSize

Type: System.Int32

A size of decompressed data. If you specify this parameter, Graphics Mill for .NET will be able to decompress the data in more memory-friendly way.

Return Value

A byte array which contains decompressed data.

See Also

Reference