Result = ReadData(#File, *MemoryBuffer, LengthToRead)Description
Read the content from the file to the specified memory buffer.
#File The file to read from. *MemoryBuffer The address to write the read data to. LengthToRead The number of bytes to read.
Returns the number of bytes actually read from the file. If there is an error, the return value is zero.
For a code example look at the Lof() function.
WriteData(), OpenFile(), ReadFile()