Hi David,

While this question is better answered by the Geosoft gurus, I'll have a go 
at it myself...

The BF (binary file) class treats all files as a stream of 8-bit binary 
data and as such is "below" the concerns of endian-ness - it will just read 
and write a stream of bytes. In order to deal with the endian issues, 
Geosoft has implemented a XDR (external data representation) layer for each 
of their serializable objects, e.g. MAP, ITR, etc. When an object is 
serialized, its member fields are passed through the appropriate XDR 
filter, which are then streamed to storage using the BF class (or one of 
its descendants).

I believe (Geosoft jump in here...) than Geosoft's implementation of XDR 
has the default storage type as being Intel, thus on Intel PC's there is 
little performance penalty attached to the XDR layer.

At this stage, I don't think Geosoft has moved its XDR routines to the GX 
Developer's level.

I strongly suspect that if you have endian issues in your data, it's 
something you'll have to track yourself, i.e. keep in one form or another, 
using input and output conversion filters as necessary.

Regards,

Alastair Ryder-Turner
Chief Geophysicist
Survey & Exploration Technology Division
Scintrex Ltd.

begin 600 WINMAIL.DAT
M>)\^(@</`0:0" `$```````!``$``0>0!@`(````Y 0```````#H``$(@ <`
M& ```$E032Y-:6-R;W-O9G0@36%I;"Y.;W1E`#$(`0V ! `"`````@`"``$$
MD 8`] (```(````-`````P``, ,````+``\.``````(!_P\!````:0``````
M``"U.\+ +'<0&J&\" `K*E;"%0```*@+C+Z89- 1DEQ$15-4``"$B ``````
M`($K'Z2^HQ 9G6X`W0$/5 (`````1V5O;F5T`%--5% `9V5O;F5T0&QI<W1S
M+F=E;W-O9G0N8V]M`````!X``C !````!0```%--5% `````'@`#, $````9
M````9V5O;F5T0&QI<W1S+F=E;W-O9G0N8V]M``````,`%0P````0`P#^#P8`
M```>``$P`0````D````G1V5O;F5T)P`````"`0LP`0```!X```!33510.D=%
M3TY%5$!,25-44RY'14]33T94+D-/30````,``#D``````@$2.@$```!I````
M`````+4[PL L=Q :H;P(`"LJ5L(5````J N,OIADT!&27$1%4U0``(2(````
M````@2L?I+ZC$!F=;@#=`0]4`@````!'96]N970`4TU44 !G96]N971 ;&ES
M=',N9V5O<V]F="YC;VT`````"P! .@$````"`?8/`0````0````````## ``
M``,``# $````"P`/#@$````"`?\/`0```&D`````````M3O"P"QW$!JAO @`
M*RI6PA4```"H"XR^F&30$9)<1$535 ``A(@```````"!*Q^DOJ,0&9UN`-T!
M#U0"`````$=E;VYE= !33510`&=E;VYE=$!L:7-T<RYG96]S;V9T+F-O;0``
M```>``(P`0````4```!33510`````!X``S !````&0```&=E;VYE=$!L:7-T
M<RYG96]S;V9T+F-O;0`````#`!4,`0````,`_@\&````'@`!, $````)````
M)T=E;VYE="<``````@$+, $````>````4TU44#I'14].151 3$E35%,N1T5/
M4T]&5"Y#3TT````#```Y``````L`0#H!`````@'V#P$````$````````!!Z8
M`02 `0`F````<F4Z($5N9&EA;B!Q=65S=&EO;B!F;W(@1U@@1&5V96QO<&5R
M<P!W#0$%@ ,`#@```,\'!P`3``L`$ `'``$`$P$!!@`'``$````````!(( #
M``X```#/!P<`$P`*`"\`.P`!`&4!`0F `0`A````,T8W13(P1$1%-C-$1#,Q
M,4)!.$(P,#8P.3<S,4(Y.#(`)@<!`Y &`,P+```B````"P`"``$````+`",`
M``````,`)@``````"P`I```````"`3$``0```!@`````````N0N,OIADT!&2
M7$1%4U0``*2E*P`#`#8``````$ `.0``I<^?^=&^`1X`< `!````)@```')E
M.B!%;F1I86X@<75E<W1I;VX@9F]R($=8($1E=F5L;W!E<G,````"`7$``0``
M`!8````!OM'X[B3=('Y#/>81T[J+`&"7,;F"```>`!X,`0````,```!-4P``
M'@`?# $````:````5VEN9&]W<R]!;&%S=&%I<B]!;&%S=&%I<@````,`!A"R
M<(,]`P`'$. #```>``@0`0```&4```!(241!5DE$+%=(24Q%5$A)4U%515-4
M24].25-"151415)!3E-715)%1$)95$A%1T5/4T]&5$=54E53+$E,3$A!5D5!
M1T]!5$E435E314Q&5$A%0D8H0DE.05)91DE,12E#3$%3``````(!"1 !````
M90@``&$(``!U$0``3%I&=7LLB-$#``H`<F-P9S$R-7(R#&!C,0,P`0<+8&Z1
M#A P,S,/%F9E#Y)/`?<"I -C`@!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11.- @"K $$,VQR]"]`V!UR,#.`VG@%W!O%W"_!S";@>-"TT'-$<\@=\N 
M_]>Q[)+.$0.@U63M$M" 3U#_!;!IL!. R'!:(LX2TI'3I/XH!;$"(.>AU>#K
M<@$`!/"CVZ(",',I+LJ<2=BR^PB0:-$HSE;(8)M S* #H/V@4H73@,O0(U+.
M9,]6XDG_Y0/5PN-"XB+.$J#E\2>78M_5`LS@6B+?$'+@;,\@R]#OR'#S$?RT
M:7!#^&C.$>RA_\OQ@! "0,NAEX":,5,!VC'__\'CX4]@T)$,D!;0\-3.$O?C
M0N5S])U!!4#+T\/1\8"?SR'6P!#@SU8#HVYKX9O\;6^ <%) ZW+C0NUA*E#S
MVT$!ED=8:/& <>Y X\#?^&B 4_2?R($0X&>%T->!WXI@ZD+WH="QU>!Y?^#/
M]/_@N_;R#,'2,-;2ZU+X:)TP?_# !7):0 S!SUX!HFF@8Z\%L YBT2+K42[H
M4"!B0O_V\O,BEI+?,<U!FF"@4<\@^_&TUG!P?_#7$W_A%7+:$?][4LQR[P34
M\U* G<#3T-,!^PHM>S!GAD'/$ *]\I$!,&GFP5)YAK$M)N%2@'+]`K5#RX!I
M$,Y":?#1$)SP;3!@= *U<C!R@' `\":X($5XFU#Q4<QC5.I UF@4<-C@9P#P
M1&C ,&"?S'$"M<;$QX_(E7M3'4#CQD XT'@@3)]@"B8W\ (`)$ ````#`! 0
M``````,`$1 !`````P" $/____] ``<P@&4(LO71O@% ``@P@&4(LO71O@$"
M`10Z`0```! ````_?B#=YCW3$;J+`&"7,;F""P`<@ @@!@``````P ``````
M`$8``````X4````````#`!V "" &``````# ````````1@````!2A0``=! `
M`!X`'H (( 8``````, ```````!&`````%2%```!````!0```#@N,#(`````
M`P`?@ @@!@``````P ```````$8``````84````````+`"" "" &``````# 
M````````1@`````.A0````````,`(8 (( 8``````, ```````!&`````!"%
M`````````P`B@ @@!@``````P ```````$8`````$84````````#`"2 "" &
M``````# ````````1@`````8A0```````!X`)8 (( 8``````, ```````!&
M`````#:%```!`````0`````````>`": "" &``````# ````````1@`````W
MA0```0````$`````````'@`G@ @@!@``````P ```````$8`````.(4```$`
D```!`````````!X`/0`!`````0`````````#``TT_3<``&@I
`
end

_______________________________________________________
More mailing list info http://www.geosoft.com/support/listserv/index.html

Reply via email to