From: nobu.nokada@... Date: 2002-06-02T20:04:51+09:00 Subject: Re: Reading binary files (or strings) Hi, At Sun, 2 Jun 2002 19:16:59 +0900, Han Holl wrote: > but as far as I can see, you have to check for EOF before each > {word|long|txt}read, > or you risk calling nil.unpack() ? It was just a quick example. You can use readbytes.rb to ensure data to be read. -- Nobu Nakada