comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: integer?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: integer? [message #31577] Fri, 02 August 2002 02:01 Go to previous message
Nigel Wade is currently offline  Nigel Wade
Messages: 286
Registered: March 1998
Senior Member
tom wrote:

> I am sorry for that.
> But only after read the answers, I try to replace XDR by ENDIAN... Then I
> find the problem.
>

Does the file actually contain XDR data?

If you write a short integer (16 bits) with xdr_short, the routine actually
writes 32 bits, big endian, to the data file (it only deals in multiples of
4 bytes in big endian, or network byte order).


--
-----------------------------------------------------------
Nigel Wade, System Administrator, Space Plasma Physics Group,
University of Leicester, Leicester, LE1 7RH, UK
E-mail : nmw@ion.le.ac.uk
Phone : +44 (0)116 2523568, Fax : +44 (0)116 2523555
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Molecular models and contour maps
Next Topic: Re: Image scrolling, displaying axes from outside the visible window

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 07:46:07 PDT 2025

Total time taken to generate the page: 0.48312 seconds