Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^3: sprintf %X endianness

by SuicideJunkie (Vicar)
on May 14, 2013 at 21:06 UTC ( [id://1033552]=note: print w/replies, xml ) Need Help??


in reply to Re^2: sprintf %X endianness
in thread sprintf %X endianness

Is your machine not big or little endian? That's pretty rare hardware.

You can ask for the values in network order, or worst case, you can unpack it by bytes, and shuffle them manually.

Replies are listed 'Best First'.
Re^4: sprintf %X endianness
by Anonymous Monk on May 14, 2013 at 21:15 UTC

    Is your machine not big or little endian? That's pretty rare hardware. You can ask for the values in network order, or worst case, you can unpack it by bytes, and shuffle them manually.

    heh, you mean like I did there with three unpack calls? My question is about how sprintf is supposed to work

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1033552]
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-23 20:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found