ReadData()

语法

Result = ReadData(#File, *MemoryBuffer, LengthToRead)
概要
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.

Remarks

For a code example look at the Lof() function.

参阅

WriteData(), OpenFile(), ReadFile()

已支持操作系统

所有

<- ReadCharacter() - File Index - ReadDouble() ->