- while (!feof(fp_in)) {
- block_size = 0;
- PERR("Leo bloque");
- fread(&block_size, sizeof(Uint32), 1, fp_in);
- printf("PageSize = %ld\n", block_size);
- fread(&z_len, sizeof(int), 1, fp_in);
- z = malloc(sizeof(char)*z_len);
- fread(z, z_len, sizeof(char), fp_in);
-
- printf("MTF Z (len=%d) = [", z_len);
- {
- int ii;
- for(ii=0; ii<z_len; ii++)
- printf("%c", z[ii]);
- printf("]\n");
-
- }
+ /* Descomprimimos de a chunks segun convenga */
+ do {
+ block_size = 0;
+ moredata = shuff_decode_chunk(shuff,(char*)&block_size,sizeof(Uint32),&decoded);