Method Decompress
Decompress(DataInput, Int32, Int32, Int32, BytesRef)
Decompress bytes that were stored between offsets offset
and
offset+length
in the original stream from the compressed
stream in
to bytes
. After returning, the length
of bytes
(bytes.Length
) must be equal to
length
. Implementations of this method are free to resize
bytes
depending on their needs.
Declaration
public abstract void Decompress(DataInput in, int originalLength, int offset, int length, BytesRef bytes)
Parameters
Type | Name | Description |
---|---|---|
DataInput | in | The input that stores the compressed stream. |
System.Int32 | originalLength | The length of the original data (before compression). |
System.Int32 | offset | Bytes before this offset do not need to be decompressed. |
System.Int32 | length | Bytes after |
BytesRef | bytes | a BytesRef where to store the decompressed data. |