4647484950515253545556
buf.put(new byte[]{127,-128,0,99,98,-1}); buf.flip(); CompressionCodec codec = new ZlibCodec(); ByteBuffer out = ByteBuffer.allocate(1000); try { codec.decompress(buf, out); fail(); } catch (IOException ioe) { // EXPECTED } }