@Override protected void compress(byte[] data, int offset, int len, IndexOutput out) throws IOException { encoder.encodeAndWriteChunk(data, offset, len, new OutputStreamIndexOutput(out)); }