Greg Chambers wrote:
> Any advice for doing this type of binary IO?

Array#pack, String#unpack are your friends. See also

http://redshift.sourceforge.net/bit-struct/
http://rubyforge.org/projects/binaryparse/

-- 
       vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407