Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: How to easily convert the pack function from little endian to big endian

by flexvault (Monsignor)
on Aug 10, 2012 at 14:19 UTC ( [id://986757]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/local/bin/perl -w
    
    ...
    exit;
    
    1;
    
  2. or download this
      my $S16bits = substr($new, 0, 4, "" );   ## 4 bytes printable hex
    
    ...
    
      my $S16bits = substr($ndata, 0, 2, "" );   ## 2 bytes hex data
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (9)
As of 2024-04-23 09:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found