}
@Override
public void directDecompress(ByteBuffer in, ByteBuffer out)
throws IOException {
DirectDecompressorShim decompressShim = ShimLoader.getHadoopShims()
.getDirectDecompressor(DirectCompressionType.ZLIB_NOHEADER);
decompressShim.decompress(in, out);
out.flip(); // flip for read
}