Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class PackedDataOutput

    A DataOutput wrapper to write unaligned, variable-length packed integers.

    Note

    This API is for internal purposes only and might change in incompatible ways in the next release.

    Inheritance
    object
    PackedDataOutput
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Lucene.Net.Util.Packed
    Assembly: Lucene.Net.dll
    Syntax
    public sealed class PackedDataOutput

    Constructors

    PackedDataOutput(DataOutput)

    Create a new instance that wraps out.

    Declaration
    public PackedDataOutput(DataOutput @out)
    Parameters
    Type Name Description
    DataOutput out
    See Also
    PackedDataInput

    Methods

    Flush()

    Flush pending bits to the underlying DataOutput.

    Declaration
    public void Flush()
    See Also
    PackedDataInput

    WriteInt64(long, int)

    Write a value using exactly bitsPerValue bits.

    NOTE: This was writeLong() in Lucene.
    Declaration
    public void WriteInt64(long value, int bitsPerValue)
    Parameters
    Type Name Description
    long value
    int bitsPerValue
    See Also
    PackedDataInput

    See Also

    PackedDataInput
    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.