Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^5: Bit order in bytes

by BrowserUk (Patriarch)
on Dec 10, 2013 at 13:10 UTC ( [id://1066425]=note: print w/replies, xml ) Need Help??


in reply to Re^4: Bit order in bytes
in thread Bit order in bytes

Nybbles == 4-bits, so looking at the byte values in decimal doesn't show it.

Look at the patterns of the nybbles (in hex):

## 'b' lists bits lsb->msb print unpack 'b*', "\x12\x34";; 1248 1248 1248 1248 0100 1000 0010 1100 2 1 4 3 ## 'B' lists bits msb <- lsb print unpack 'B*', "\x12\x34";; 8421 8421 8421 8421 0001 0010 0011 0100 1 2 3 4

With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2024-04-20 01:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found