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

Re: [plt-scheme] Binary file access



At Thu, 23 May 2002 19:00:58 +0200, "Sylvain Beucler" wrote:
> I am working on saving data to files using DrScheme v103.
> I need to save data like C or Java usually does.
> For example, if I want to save the 2000000000 value to a
> file, I don't want DrScheme to save 10 characters, each
> character being one of the digit. I rather want it to save
> the value with the 32bit integer value, so on 4 bytes - I
> work on files used by non-Scheme applications.

There's nothing particularly helpful in v103.

If you can upgrade to v200 (which I highly recommend), then you'll get
functions like `integer->integer-byte-string'.

Matthew