file::readstring()Read multiple bytes from the opened file and convert them to string (binary mode)
file::readstring(position, total_bytes)
position (number) — Start byte position to be readtotal_bytes (number) — Total bytes to be read
string — Returns bytes string
import fileio
f = file("data.bin", file_binary + file_read)
data = f.readstring(0x01, 8) ' Read 8 bytes from the position 1
f.close()