I haven't tried any yet, but I was assuming most would be based on the
same ramp libraries? Actually, I'll give you an example of what I'm
doing, maybe you can help point out any mistakes.

I have a mzxml file with the following attributes (among others):
<mzXML xmlns="http://sashimi.sourceforge.net/schema_revision/
mzXML_3.0"
<software type="conversion" name="ReAdW" version="4.2.1(build Apr  7
2009 13:17:55)" />
<peaks precision="32"
    byteOrder="network"
    pairOrder="m/z-int" > Q74ZWUQe5SJDvypeQ8tdo0PAk6BEh1/bQ
(continued, but I'll only post the first few chars for simplicity)

So I'll consider making the first float out of the first few chars.
I'll do manually the base64 decoding then to binary

Q   7    4    Z     W    U
16  59  56   25   22    20
010000 111011 111000 011001 010110 010100 (binary)
43BE1959 (hex)

then if I directly convert this to a float I get:

43BE1959 = 380.19803 float

which is a reasonable number. But if I assume the data starts in
network byte order, I would first have to do a network rearrangement
of the bytes and then a float representation:

43BE1959 (assumed network) to host 5919be43

then to float

5919be43 = 2.70467 E15 float

So where am I going wrong?

-- 
You received this message because you are subscribed to the Google Groups 
"spctools-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/spctools-discuss?hl=en.

Reply via email to