/* Guardo el k y el tamaƱo en el array */
memcpy(out, &leido, sizeof(Uint32));
memcpy(out+sizeof(Uint32), k, sizeof(Uint32));
-
+ printf("%ld -> %ld\n", *k, *(Uint32 *)(out+sizeof(Uint32)));
bs->len = l;
}
i=0;
do {
dst[i++] = in[current].c;
+ printf("(%c)", dst[i-1]);
current = in[current].pos;
+ printf("[%d]", current);
} while (current != k);
+ printf("\n");
free(in);
}