Show / Hide Table of Contents

    Class PackedDataOutput

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

    This is a Lucene.NET INTERNAL API, use at your own risk
    Inheritance
    System.Object
    PackedDataOutput
    Namespace: Lucene.Net.Util.Packed
    Assembly: Lucene.Net.dll
    Syntax
    public sealed class PackedDataOutput : object

    Constructors

    | Improve this Doc View Source

    PackedDataOutput(DataOutput)

    Create a new instance that wraps out.

    Declaration
    public PackedDataOutput(DataOutput out)
    Parameters
    Type Name Description
    DataOutput out

    Methods

    | Improve this Doc View Source

    Flush()

    Flush pending bits to the underlying DataOutput.

    Declaration
    public void Flush()
    | Improve this Doc View Source

    WriteInt64(Int64, Int32)

    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
    System.Int64 value
    System.Int32 bitsPerValue

    See Also

    PackedDataInput
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)