local data,int ReadData(int iSize)
Return values
The function returns a special data type that can only be used in conjunction with the ConvertFromUTF16. If function is successful iSize is set to the size of the returned data; otherwise nil, and a specific error code can be retrieved by calling global function GetLastError.
Parameters
Remarks
The function will read the specified size of data from the file and move the file pointer forward the same amount. If end of file is reached the read will stop and return the data read until end of file was reached.