Show / Hide Table of Contents

    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 Source

    Compressor()

    Sole constructor, typically called from sub-classes.

    Declaration
    protected Compressor()

    Methods

    | Improve this Doc View Source

    Compress(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
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)