The old version of preprocessor_compute_crc was copying more data than it should (using memcpy) and was rather error-prone. In addition, the produced output (buff) was just empty. The new version of preprocessor_compute_crc is much easier to read. Please let me know whether this matches your vision with regard to this function and provide me with feedback, if needed.
The old version of
preprocessor_compute_crc
was copying more data than it should (usingmemcpy
) and was rather error-prone. In addition, the produced output (buff
) was just empty. The new version ofpreprocessor_compute_crc
is much easier to read. Please let me know whether this matches your vision with regard to this function and provide me with feedback, if needed.