Class Compressor
A data compressor.
Inheritance
System.Object
Compressor
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Lucene.Net.Codecs.Compressing
Assembly: Lucene.Net.dll
Syntax
public abstract class Compressor
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 |