Compress a byte array data to a byte array.

Namespace:  Rebex.IO.Compression
Assembly:  Rebex.Zip (in Rebex.Zip.dll)

Syntax

Visual Basic
Public Shared Function Compress ( _
	data As Byte() _
) As Byte()
C#
public static byte[] Compress(
	byte[] data
)

Parameters

data
Type: array<System..::..Byte>[]()[][]
Data to compress.

Return Value

Compressed data.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also