Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
The stupid question is the question not asked
 
PerlMonks  

Re^3: Calculating CRC8 using Digest::CRC

by AnomalousMonk (Monsignor)
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
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.
    Kaiti
    Swiss Army Nerd

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2014-04-21 12:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (495 votes), past polls