binaryfiles - Parsing a binary file in Ruby -


I should be able to parse a binary file with ruby. This file contains parts of data that are found through the header, which includes file offsets and length of each section.

How do I get the data correctly? I have not been able to locate on the basis of those files which I have studied since reading because they get out in the wire, I do not know how to convert to a format IO #, he understands.

Any help? A common way of turning offset and length into some useful (like an integer or something) would be useful.

You want.


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -