|Modifier||Constructor and Description|
Sole constructor, typically called from sub-classes.
|Modifier and Type||Method and Description|
Decompress bytes that were stored between offsets
public abstract void decompress(DataInput in, int originalLength, int offset, int length, BytesRef bytes) throws IOException
offset+lengthin the original stream from the compressed stream
bytes. After returning, the length of
bytes.length) must be equal to
length. Implementations of this method are free to resize
bytesdepending on their needs.
in- the input that stores the compressed stream
originalLength- the length of the original data (before compression)
offset- bytes before this offset do not need to be decompressed
length- bytes after
offset+lengthdo not need to be decompressed
BytesRefwhere to store the decompressed data
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.