Mega Code Archive

 
Categories / Ruby / File Directory
 

Read a binary file by byte

open('binary', 'rb') { |f| f.each_byte { |b| puts b } }