Take a look at the bindata gem for all your binary needs. I've used it
and it is quite slick.

http://bindata.rubyforge.org/

V/r
Anthony Eden

On 6/15/07, Jim flip <james / dimsum.tv> wrote:
> Simple problem but I'm not sure of an elegant solution, I can do it but
> all a bit minging.
>
> Basically have a numeric value and want to write the value as a 4 byte
> integer to a binary file.
>
> Thanks for any insight,
> Jim.
>
> --
> Posted via http://www.ruby-forum.com/.
>
>


-- 
Cell: 808 782-5046
Current Location: Melbourne, FL