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
System.Object
PackedDataOutput
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.Util.Packed
Assembly: Lucene.Net.dll
Syntax
public sealed class PackedDataOutput
Constructors
| Improve this Doc View SourcePackedDataOutput(DataOutput)
Create a new instance that wraps out
.
Declaration
public PackedDataOutput(DataOutput out)
Parameters
Type | Name | Description |
---|---|---|
DataOutput | out |
Methods
| Improve this Doc View SourceFlush()
Flush pending bits to the underlying DataOutput.
Declaration
public void Flush()
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 |