Read up to byteCount bytes from the file (or all remaining if -1)
import "file" fh = file.open("data.txt", "r") chunk = fh.read(4) // read 4 bytes as a string print chunk fh.close
There was an error while loading. Please reload this page.