# File lib/backports/1.9.1/io/binread.rb, line 4 def IO.binread(file, length = nil, offset = 0) File.open(Backports.convert_path(file),"rb") do |f| f.seek(offset) f.read(length) end end