Just to be really, really clear about the point that Athanasius is making...
The two character string '7A' consists (in ASCII) in the hex bytes 0x37 and 0x41 (the characters '7' and 'A' respectively). OTOH, it is possible to have a single character ASCII string that consists in the single hex byte 0x7A (the character 'z').
In the example you give in your OP, which is which?
In reply to Re^3: Calculating CRC8 using Digest::CRC
by AnomalousMonk
in thread Calculating CRC8 using Digest::CRC
by jedikaiti
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |