public static void uncompress ( int [ ] in , int tmpinpos , int inlength , int [ ] out , int currentPos , int outlength ) { final int finalpos = tmpinpos + inlength ; while ( tmpinpos < finalpos ) { final int howmany = decompressblock ( out , currentPos , in , tmpinpos , outlength ) ; outlength -= howmany ; currentPos += howmany ; tmpinpos += 1 ; } }
Uncompress data from an array to another array .