public class RunLengthIntegerWriter extends Object implements IntegerWriter
Constructor and Description |
---|
RunLengthIntegerWriter(PositionedOutputStream output,
boolean signed) |
Modifier and Type | Method and Description |
---|---|
void |
changeIv(Consumer<byte[]> modifier) |
long |
estimateMemory()
Estimate the amount of memory being used.
|
void |
flush()
Flush the buffer
|
void |
getPosition(PositionRecorder recorder)
Get position from the stream.
|
void |
write(long value)
Write the integer value
|
public RunLengthIntegerWriter(PositionedOutputStream output, boolean signed)
public void flush() throws IOException
IntegerWriter
flush
in interface IntegerWriter
IOException
public void write(long value) throws IOException
IntegerWriter
write
in interface IntegerWriter
IOException
public void getPosition(PositionRecorder recorder) throws IOException
IntegerWriter
getPosition
in interface IntegerWriter
IOException
public long estimateMemory()
IntegerWriter
estimateMemory
in interface IntegerWriter
public void changeIv(Consumer<byte[]> modifier)
changeIv
in interface IntegerWriter
Copyright © 2013–2023 The Apache Software Foundation. All rights reserved.