Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class Decompressor

    A decompressor.

    Inheritance
    object
    Decompressor
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Lucene.Net.Codecs.Compressing
    Assembly: Lucene.Net.dll
    Syntax
    public abstract class Decompressor

    Constructors

    Decompressor()

    Sole constructor, typically called from sub-classes.

    Declaration
    protected Decompressor()

    Methods

    Clone()

    A decompressor.

    Declaration
    public abstract object Clone()
    Returns
    Type Description
    object

    Decompress(DataInput, int, int, int, BytesRef)

    Decompress bytes that were stored between offsets offset and offset+length in the original stream from the compressed stream in to bytes. After returning, the length of bytes (bytes.Length) must be equal to length. Implementations of this method are free to resize bytes depending on their needs.

    Declaration
    public abstract void Decompress(DataInput @in, int originalLength, int offset, int length, BytesRef bytes)
    Parameters
    Type Name Description
    DataInput in

    The input that stores the compressed stream.

    int originalLength

    The length of the original data (before compression).

    int offset

    Bytes before this offset do not need to be decompressed.

    int length

    Bytes after offset+length do not need to be decompressed.

    BytesRef bytes

    a BytesRef where to store the decompressed data.

    Back to top Copyright © 2024 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.