chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] Reading binary files


From: felix winkelmann
Subject: Re: [Chicken-users] Reading binary files
Date: Tue, 18 Dec 2007 11:58:08 +0100

On Dec 18, 2007 11:41 AM, Siegfried Gonzi <address@hidden> wrote:
>
> Is there an easy way in Chicken to read binary files? I have got binary files 
> created on my desktop Linux machine with the help of IDL. The binary files 
> are created in Fortran 77 binary format and BIG_ENDIAN mode (IDL has such a 
> feature). I read the files from a data base with IDL and store it in 
> big_endian Fortran 77.

In what format do you want to the numbers to use in the end? Do
you want to fill in SRFI-4 number vectors, for example? Converting a
string to a number vector can be easily hacked with a few lines of
C, but endian conversion has to be done in C.


cheers,
felix




reply via email to

[Prev in Thread] Current Thread [Next in Thread]