CAPL Script

FileGetBinaryBlock

Syntax

long fileGetBinaryBlock (byte buff[], long buffsize, dword fileHandle)

Method(Dynamic)

long File::GetBinaryBlock(byte buff[], long buffsize);

Function

The function reads characters from the specified file in binary format. The source file must be opened in binary format.

Parameters

buff Buffer

buffsize

Maximum of buffsize characters

fileHandle

Handle to the file

Return Values

The function returns the number of characters read.

Example

Class: File