From: speechexpert Date: 2005-11-28T21:09:28+09:00 Subject: Re: How to read/write an int in binary form to a file? I did - but could see no way to pack a binary string. Is there a way to pack a binary string of bytes? jb ----- Original Message ----- From: "Timothy Hunter" Newsgroups: comp.lang.ruby To: "ruby-talk ML" Sent: Sunday, November 27, 2005 3:17 PM Subject: Re: How to read/write an int in binary form to a file? > speechexpert wrote: >> Anyone know how to do this? >> I am curious to know what the solution is. >> Thanks in advance, >> John B >> >> > Look up the pack method in Array. >