Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re^2: Unpack 64 bit value

by DrHyde (Prior)
on Sep 10, 2009 at 11:04 UTC ( #794545=note: print w/replies, xml ) Need Help??

in reply to Re: Unpack 64 bit value
in thread Unpack 64 bit value

This is just *so* wrong. Endianness is irrelevant to whether q is a valid format.

Replies are listed 'Best First'.
Re^3: Unpack 64 bit value
by Marshall (Abbot) on Sep 10, 2009 at 12:22 UTC
    I don't have access to a 64 bit platform.. "Endianness" is always relevant as there is fundamental difference between say how Intel and say Motorola machines work.

    This goes to the hardware level about how data is actually stored in sequential memory locations and is enforced by the hardware. If I do a binary byte dump to disk, of say array of 32 bit values on a VAX or Intel platform, nothing is gonna change the fact that this same array will look different on the disk from a binary byte dump from a Motorola platform.

      The OP indicates that he is getting a syntax/compile-time error. Endianness doesn't matter at that point, which is what DrHyde indicated. And the likely explanation for the error is provided by almut in 794510.

      Elda Taluta; Sarks Sark; Ark Arks

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://794545]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2017-10-21 05:52 GMT
Find Nodes?
    Voting Booth?
    My fridge is mostly full of:

    Results (269 votes). Check out past polls.