Hi,
I have a question regardning modulo 0xFFFF.
In my program which is a C program I read from a file a long XML string that is ended by checksum value.
When I read the requirement I shall read all characters from the string and add them to a total sum and then perform a modulo 0xFFFF. For me it will be the wrong checksum.
Are there anybody that can help me with a C source code to perform this kind of functionality?
BR
Big Spender