convert char to byte representation
Philipp H. Mohr
phm4 at kent.ac.uk
Mon Oct 10 20:15:29 CEST 2005
I am trying to xor the byte representation of every char in a string with
its predecessor. But I don't know how to convert a char into its byte
representation. This is to calculate the nmea checksum for gps data.
e.g. everything between $ and * needs to be xor:
to get the checksum.
Thank you for you help.
More information about the Python-list