From: Ted Flethuseo on
Cool, it works well, but I would like to read x integers at a time.
because the files I might read can be pretty large.

I also tried to read a binary file in a computer with linux. So I copied
my binary file and the binreader script onto that computer. Ran it, and
got completely different numbers.

a =, "rb") { |f|
a ="I*")
puts a
Posted via