Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^4: pack/unpack 6-bit fields. (insanity)

by tye (Sage)
on Aug 18, 2004 at 16:03 UTC ( #384019=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @fields=
         unpack "C*",    # 16 6-bit numeric values
    ...
         pack   "C*",    # string of 16 bytes, each holding a 6-bit value
         @fields;        # 16 6-bit numeric values
    print "($string)\n";
    
  2. or download this
    (29 7 29 37 27 7 25 37 8 6 9 57 29 6 21 51)
    (twelve bytes)
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://384019]
help
Chatterbox?
erix wonders what this question is really about: Best way to store/access large dataset?
[hippo]: Intriguing, isn't it?
[erix]: one would need the actuall query / queries
[erix]: he has obfuscated it effectively

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (15)
As of 2018-06-22 14:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (124 votes). Check out past polls.

    Notices?