C# Class Stolen.QuickLZ

Exibir arquivo Open project: fastquant/fastquant.dll

Public Methods

Method Description
compress ( byte source, int level ) : byte[]
decompress ( byte source ) : byte[]
sizeCompressed ( byte source ) : int
sizeDecompressed ( byte source ) : int

Private Methods

Method Description
fast_write ( byte a, int i, int value, int numbytes ) : void
headerLen ( byte source ) : int
write_header ( byte dst, int level, bool compressible, int size_compressed, int size_decompressed ) : void

Method Details

compress() public static method

public static compress ( byte source, int level ) : byte[]
source byte
level int
return byte[]

decompress() public static method

public static decompress ( byte source ) : byte[]
source byte
return byte[]

sizeCompressed() public static method

public static sizeCompressed ( byte source ) : int
source byte
return int

sizeDecompressed() public static method

public static sizeDecompressed ( byte source ) : int
source byte
return int