Difference between revisions of "(File):read"

m (1 revision: Imported docs from potato.)
Line 1: Line 1:
  
 
+
Read a number of bytes from a file
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
Line 13: Line 13:
 
* [[parent::File]]
 
* [[parent::File]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=}}
+
{{#set:Description=Read a number of bytes from a file}}

Revision as of 16:17, 14 February 2010

Read a number of bytes from a file

Function

Synopsis

contents = File:read( bytes )

Arguments

number bytes
The number of bytes to read

Returns

string contents
The contents of the read bytes

See Also