Mega Code Archive
Categories
/
Ruby
/
File Directory
Read an IO stream byte by byte with each_byte
File.open("text.txt").each_byte { |byte| puts byte }