File:read
Read a number of bytes from a file.
contents, size = File:read( bytes )
bytes (all) number The number of bytes to read.
contents string The contents of the read bytes.
size number How many bytes have been read.
contents, size = File:read( container, bytes )
container ContainerType What type to return the file's contents as.
bytes (all) number The number of bytes to read.
contents FileData or string FileData or string containing the read bytes.
size number How many bytes have been read.