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" <cyclists / nc.rr.com>
Newsgroups: comp.lang.ruby
To: "ruby-talk ML" <ruby-talk / ruby-lang.org>
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.
>