public interface BlockDecoder
BlockEncoder
used during the writing of the index.
For example, implementations may decompress or decrypt.
BlockEncoder
Modifier and Type | Method and Description |
---|---|
BytesRef |
decode(DataInput blockBytes,
long length)
Decodes all the bytes of one block in a single operation.
|
BytesRef decode(DataInput blockBytes, long length) throws IOException
blockBytes
- The input block bytes to read.length
- The number of bytes to read from the input.IOException
- If a decoding error occurs.Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.