Class Compressor
A data compressor.
Inheritance
System.Object
Compressor
Namespace: Lucene.Net.Codecs.Compressing
Assembly: Lucene.Net.dll
Syntax
public abstract class Compressor : object
Constructors
| Improve this Doc View SourceCompressor()
Sole constructor, typically called from sub-classes.
Declaration
protected Compressor()
Methods
| Improve this Doc View SourceCompress(Byte[], Int32, Int32, 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 |
---|---|---|
System.Byte[] | bytes | |
System.Int32 | off | |
System.Int32 | len | |
DataOutput | out |