I have the following C code which I'm trying to emulate in Pascal:

  seqence_crc = *((int64_t*)data);
  seqence_key = *((int64_t*)&data[8]);
  compr_crc   = *((int64_t*)&data[16]);
  compr_len   = *((int32_t*)&data[24]);

Currently, I'm doing it manually, but I'm not getting the results I'm expecting.

I'm pretty sure there is a way of doing this natively, but I can't
seem to find it.

Regards,

Dave

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to