Compresses a byte array with the deflate algorithm (ZIP).
Namespace:
Aurigma.GraphicsMill
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
Public Shared Function Compress ( _ originData As IntPtr, _ originDataSize As UInteger, _ compressedData As IntPtr, _ compressedDataSize As UInteger _ ) As UInteger
public static uint Compress( IntPtr originData, uint originDataSize, IntPtr compressedData, uint compressedDataSize )
Type: System.IntPtr
The pointer to unmanaged byte array which stores the data you need to compress.Type: System.UInt32
The integer value which specifies the length of the input buffer.Type: System.IntPtr
The pointer to the unmanaged byte array which will get the compressed data. The memory should be allocated by caller.Type: System.UInt32
The integer value which specifies the lenght of the output buffer.You should guaranty that the length of the output buffer enough to hold the result of compression.