(File):read

Read a number of bytes from a file

Function

Synopsis

contents, size = File:read( bytes )

Arguments

number bytes (all)
The number of bytes to read

Returns

string contents
The contents of the read bytes
number size
How many bytes have been read

See Also


Other Languages