ReadData()
Syntax
Result = ReadData(#File, *MemoryBuffer, LengthToRead)Description
Read the content from the file to the specified memory buffer, starting at the current file position.
Parameters
#File The file to read from. *MemoryBuffer The address to write the read data to. LengthToRead The number of bytes to read. The maximum length is 2 GB.
Return value
Returns the number of bytes actually read from the file. If there is an error, the return value is zero.
Remarks
For a code example look at the Lof() function.
See Also
WriteData(), OpenFile(), ReadFile(), Loc()
Supported OS
All