Mega Code Archive
Categories
/
Ruby
/
File Directory
File read 500 bytes
f = open('binary') f.read(500) f.pos f.eof? f.close