C# Class QuickLZ.QuickLZWrapper

C# DLL wrapper class for the QuickLZ 1.5.x DLL files For QuickLZ documentation please check http://www.quicklz.com Please note that QuickLZ enterprise license is not FREE for more companies with more than 1 employees, so make sure you purchase licenses at http://www.quicklz.com/order.html Note: QuickLZ Dlls should be present in QuickLZC folder and copied to the same folder inside the bin folder of your app.
Mostra file Open project: evereq/couchbase-aspnet

Public Methods

Method Description
Compress ( byte source ) : byte[]
Decompress ( byte source ) : byte[]
QuickLZWrapper ( ) : System
SizeCompressed ( byte source ) : uint
SizeDecompressed ( byte source ) : uint

Private Methods

Method Description
qlz_compress ( byte source, byte destination, IntPtr size, byte scratch ) : IntPtr
qlz_decompress ( byte source, byte destination, byte scratch ) : IntPtr
qlz_get_setting ( int setting ) : int
qlz_size_compressed ( byte source ) : IntPtr
qlz_size_decompressed ( byte source ) : IntPtr

Method Details

Compress() public method

public Compress ( byte source ) : byte[]
source byte
return byte[]

Decompress() public method

public Decompress ( byte source ) : byte[]
source byte
return byte[]

QuickLZWrapper() public method

public QuickLZWrapper ( ) : System
return System

SizeCompressed() public method

public SizeCompressed ( byte source ) : uint
source byte
return uint

SizeDecompressed() public method

public SizeDecompressed ( byte source ) : uint
source byte
return uint