(*k) = generar_salida(in, bs, out);
/* Guardo el k y el tamaƱo en el array */
- memcpy(out, k, sizeof(unsigned long int));
- memcpy(out+sizeof(unsigned long int), &leido, sizeof(unsigned long int));
+ memcpy(out, &leido, sizeof(unsigned long int));
+ memcpy(out+sizeof(unsigned long int), k, sizeof(unsigned long int));
bs->len = l;
}