[Lazarus] C Integer types
Dave Coventry
dgcoventry at gmail.com
Sat Jul 7 09:11:22 CEST 2012
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
More information about the Lazarus
mailing list