From: David Date: 2011-02-25T03:56:51+09:00 Subject: Re: finding a tag in a binary file My bad, it should be IO.binread On Thu, 2011-02-24 at 07:47 +0900, rob s. wrote: > thanks for the replies looks like I don't have > contents = File.binread('1DICOMDIR').bytes.to_a > undefined method `binread' for File:Class > I have ruby 1.8.7 > > I'll have a play with the code you suggested tomorrow.