Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Run length encode a bit vector

by johngg (Canon)
on Jan 05, 2012 at 10:59 UTC ( [id://946361]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ perl -E 'say unpack q{b*}, pack q{N}, 0x01020304;'
    10000000010000001100000000100000
    
  2. or download this
    $ perl -E 'say unpack q{B*}, pack q{N}, 0x01020304;'
    00000001000000100000001100000100
    
  3. or download this
    7, -1, 6, -1, 7, -2, 5, -1, 2
    

Log In?
Username:
Password:

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

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

    No recent polls found