java.lang.Object
org.apache.lucene.util.packed.PackedDataOutput
A
DataOutput wrapper to write unaligned, variable-length packed integers.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) long(package private) final DataOutput(package private) int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidflush()Flush pending bits to the underlyingDataOutput.voidwriteLong(long value, int bitsPerValue) Write a value using exactlybitsPerValuebits.
-
Field Details
-
out
-
current
long current -
remainingBits
int remainingBits
-
-
Constructor Details
-
PackedDataOutput
Create a new instance that wrapsout.
-
-
Method Details
-
writeLong
Write a value using exactlybitsPerValuebits.- Throws:
IOException
-
flush
Flush pending bits to the underlyingDataOutput.- Throws:
IOException
-