[plt-scheme] Parsing Binary Files

From: David J. Neu (djneu at att.net)
Date: Tue Mar 7 08:48:29 EST 2006

Hi all,

I'm parsing a binary file, and calls to read-byte and read-bytes
return #<eof> when that byte is encountered.  

Subsequent calls to integer-bytes->integer,
floating-point-bytes->float and bytes->string/latin-1 obviously aren't
too happy about this.

The input-port being read from was opened using open-input-bytes.

Thanks for any help!

Cheers,
David


Posted on the users mailing list.