Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

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

by BrowserUk (Patriarch)
on Aug 10, 2012 at 09:33 UTC ( [id://986705]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        read EP, $in, 2;
        $rec_len = unpack ("S>", $in);
    
  2. or download this
        read EP, $in, 2;
        $rec_len = unpack ("S<", $in);
    

Log In?
Username:
Password:

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

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

    No recent polls found