Class Decompressor
A decompressor.
Inherited Members
Namespace: Lucene.Net.Codecs.Compressing
Assembly: Lucene.Net.dll
Syntax
public abstract class Decompressor
  Constructors
Decompressor()
Sole constructor, typically called from sub-classes.
Declaration
protected Decompressor()
  Methods
Clone()
A decompressor.
Declaration
public abstract object Clone()
  Returns
| Type | Description | 
|---|---|
| object | 
Decompress(DataInput, int, int, int, BytesRef)
Decompress bytes that were stored between offsets offset and
offset+length in the original stream from the compressed
stream in to bytes. After returning, the length
of bytes (bytes.Length) must be equal to
length. Implementations of this method are free to resize
bytes depending on their needs.
Declaration
public abstract void Decompress(DataInput @in, int originalLength, int offset, int length, BytesRef bytes)
  Parameters
| Type | Name | Description | 
|---|---|---|
| DataInput | in | The input that stores the compressed stream.  | 
      
| int | originalLength | The length of the original data (before compression).  | 
      
| int | offset | Bytes before this offset do not need to be decompressed.  | 
      
| int | length | Bytes after   | 
      
| BytesRef | bytes | a BytesRef where to store the decompressed data.  |