M
Mitch
Hi all,
I hope this is the right place for this post, apologies if it is not.
I am trying to write a program that creates an input file for a dispersion
model. The model is expecting a Fortran "unformatted" binary file in
big-endian. However, my program is written in dotnet and I'd like to avoid
writing and then calling a Fortran program to do this one task. My question
is:
* Is there a way to write a file that looks exactly like an unformatted one
that Fortran 95 would write?
I've been going down the BinaryWriter( with BigEndianUnicode ) path, and I
feel I am close, but the Hex dumps of the two files (mine and a 'proper'
one) look a little different.
Could someone please let me know if what I'm trying to do is possible and
point me in the right direction or tell me I'm wasting my time.
Thanks in advance,
Mitch
I hope this is the right place for this post, apologies if it is not.
I am trying to write a program that creates an input file for a dispersion
model. The model is expecting a Fortran "unformatted" binary file in
big-endian. However, my program is written in dotnet and I'd like to avoid
writing and then calling a Fortran program to do this one task. My question
is:
* Is there a way to write a file that looks exactly like an unformatted one
that Fortran 95 would write?
I've been going down the BinaryWriter( with BigEndianUnicode ) path, and I
feel I am close, but the Hex dumps of the two files (mine and a 'proper'
one) look a little different.
Could someone please let me know if what I'm trying to do is possible and
point me in the right direction or tell me I'm wasting my time.
Thanks in advance,
Mitch