All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class org.lzo.Lzo1xDecompressor

java.lang.Object
   |
   +----org.lzo.Lzo1xDecompressor

public final class Lzo1xDecompressor
extends Object
implements Constants
Implementation of the LZO1X decompression algorithm.

Author:
Markus F.X.J. Oberhumer

Constructor Index

 o Lzo1xDecompressor()

Method Index

 o decompress(byte[], int, int, byte[], int, Int)
Decompress from array src to array dst.

Constructors

 o Lzo1xDecompressor
 public Lzo1xDecompressor()

Methods

 o decompress
 public final int decompress(byte src[],
                             int src_off,
                             int src_len,
                             byte dst[],
                             int dst_off,
                             Int dst_len)
Decompress from array src to array dst. The arrays may overlap under certain conditions (see LZO.FAQ).

Parameters:
src - the compressed data
src_off - starting index of compressed data in array src
src_len - length of compressed data in array src
dst - where the uncompressed data will be stored
dst_off - starting index of uncompressed data in array dst
dst_len - will be set to the length of the uncompressed data
Returns:
an error code (see org.lzo.Constants)

All Packages  Class Hierarchy  This Package  Previous  Next  Index