unknown wrote:
> typedef struct header{
> UINT32 x;
> UINT32 y;
> UINT32 z;
> } header_type;

Take a look at unpack (ri String#unpack)

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