Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re^3: Calculating CRC8 using Digest::CRC

by AnomalousMonk (Canon)
on Jun 07, 2012 at 18:35 UTC ( #975013=note: print w/ replies, xml ) Need Help??

in reply to Re^2: Calculating CRC8 using Digest::CRC
in thread Calculating CRC8 using Digest::CRC

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?

Comment on Re^3: Calculating CRC8 using Digest::CRC
Replies are listed 'Best First'.
Re^4: Calculating CRC8 using Digest::CRC
by jedikaiti (Friar) on Jun 07, 2012 at 20:49 UTC

    Y'all are right, and this is why I probably should have waited until morning (or at least after dinner) to post my question... :-)

    It is not a string (I reverted to plain English, not Computer English) - 7A......0 *is* the hex.

    Mea culpa, sorry I wasn't clearer.
    Swiss Army Nerd

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://975013]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2015-11-28 18:41 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (743 votes), past polls