Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re^3: Calculating CRC8 using Digest::CRC

by AnomalousMonk (Chancellor)
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 (Hermit) 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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (2)
As of 2018-02-25 08:54 GMT
Find Nodes?
    Voting Booth?
    When it is dark outside I am happiest to see ...

    Results (312 votes). Check out past polls.