From: Joel VanderWerf Date: 2009-04-02T06:02:37+09:00 Subject: Re: BInary Files Gene Vincent wrote: > Hi I'm pretty new to Ruby and writing code in general. That being said > Im trying to learn how to create and modify(by a percentage) a binary > file. Any advise or pointers would be apprieciated. As noted, Array#pack is useful. If you want a DSL that fills in some gaps in pack, try this: http://redshift.sourceforge.net/bit-struct. -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407