So if I open the file using "b" I can write the bytes as I intend using 
<<, is that correct?

That's simple and makes sense - how novel ;).

Thanks,
Wes


-- 
Posted via http://www.ruby-forum.com/.