code: public int[] uncompress(int[] compressed) {
          int[] decompressed = new int[compressed[0]];
          IntWrapper inpos = new IntWrapper(1);
          codec.headlessUncompress(compressed, inpos, 
                  compressed.length - inpos.intValue(), 
                  decompressed, new IntWrapper(0), 
                  decompressed.length, new IntWrapper(0));
          return decompressed;
      }
docs: Uncompress an array and returns the uncompressed result as a new array.
  
  @param compressed compressed array
  @return uncompressed array