Class Compressor
A data compressor.
Inherited Members
Namespace: Lucene.Net.Codecs.Compressing
Assembly: Lucene.Net.dll
Syntax
public abstract class Compressor
Constructors
Compressor()
Sole constructor, typically called from sub-classes.
Declaration
protected Compressor()
Methods
Compress(byte[], int, int, DataOutput)
Compress bytes into out
. It it the responsibility of the
compressor to add all necessary information so that a Decompressor
will know when to stop decompressing bytes from the stream.
Declaration
public abstract void Compress(byte[] bytes, int off, int len, DataOutput @out)
Parameters
Type | Name | Description |
---|---|---|
byte[] | bytes | |
int | off | |
int | len | |
DataOutput | out |