From: "Stuart C." Date: 2011-10-22T06:02:09+09:00 Subject: Binary parsing Hi all, I have a quick query relating to parsing binary data. In python you are able to specify in your code DataA is bytes 10 to 35 DataB is bytes 36 to 40 etc etc What is the equivalent in Ruby? I essentially will be reading in binary data and reading it in specific chunks as data in a range of bytes equates to one things, other bytes are another. Generally the data is consistently structured. Many thanks -- Posted via http://www.ruby-forum.com/.