a=File.open("c:\\1.txt") a.binmode print a.read(1) it prints the char. how can i get and play with the bits and bytes of the file?