Compression.CompressData Method

Ultimate Replay

CompressionCompressData Method
Compress a data stream using the GZip compression algorithm.

Namespace: UltimateReplay.Storage
Assembly: UltimateReplay (in UltimateReplay.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static byte[] CompressData(
	byte[] data,
	CompressionLevel level = CompressionLevel.Optimal
)

Parameters

data
Type: SystemByte
The input data to compress
level (Optional)
Type: UltimateReplay.StorageCompressionLevel
The target compression level to use

Return Value

Type: Byte
The compressed data
See Also