private static byte[] inflate(byte[] input) throws IOException {
        InflaterInputStream gzis = new InflaterInputStream(new ByteArrayInputStream(input));
        ByteArrayOutputStream out = new ByteArrayOutputStream();
        byte[] buffer = new byte[1024];
        while(gzis.available() > 0) {
            int l = gzis.read(buffer);
            if(l > 0)
                out.write(buffer, 0, l);
        }
        return out.toByteArray();
    }
Tests whether all bytes in the specified array are zero.

@param array the array to test (not null, unaffected)
@return true if all zeroes, otherwise false
jme3-plugins/src/fbx/java/com/jme3/scene/plugins/fbx/file/FbxReader.java