From: Vianney Lecroart Date: 2007-10-26T00:08:22+09:00 Subject: Re: read write integer in binary into a file > How about Marshal? Files are filled by an external C application that do something like: fwrite(fp, 4, myint); Se I have to use the same file format. -- Posted via http://www.ruby-forum.com/.