C# 클래스 Mosa.ClassLib.LZF

Improved C# LZF Compressor, a very small data compression library. The compression algorithm is extremely fast.
파일 보기 프로젝트 열기: tgiphil/MOSA-Project

공개 메소드들

메소드 설명
Compress ( byte input, int inputLength, byte output, int outputLength ) : int

Compresses the data using LibLZF algorithm

Decompress ( byte input, int inputLength, byte output, int outputLength ) : int

Decompresses the data using LibLZF algorithm

메소드 상세

Compress() 공개 메소드

Compresses the data using LibLZF algorithm
public Compress ( byte input, int inputLength, byte output, int outputLength ) : int
input byte Reference to the data to compress
inputLength int Length of the data to compress
output byte Reference to a buffer which will contain the compressed data
outputLength int Length of the compression buffer (should be bigger than the input buffer)
리턴 int

Decompress() 공개 메소드

Decompresses the data using LibLZF algorithm
public Decompress ( byte input, int inputLength, byte output, int outputLength ) : int
input byte Reference to the data to decompress
inputLength int Lenght of the data to decompress
output byte Reference to a buffer which will contain the decompressed data
outputLength int The size of the decompressed archive in the output buffer
리턴 int