Fork me on GitHub
  • API

    Show / Hide Table of Contents

    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 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 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.