CAPL Script

FileWriteBinaryBlock

This reference collection includes Vector documentation reproduced with permission. Snippets may require configuration-specific symbols and are not all standalone programs. Sources and validation limits.

Syntax

long fileWriteBinaryBlock (byte buff[], long buffsize, dword fileHandle);

Method(Dynamic)

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

Function

This function writesbuffsizebytes in the specified file.

Parameters

buff Buffer, with the binary data to be written.

buffersize

Number of bytes to be written.

fileHandle

Handle to the file.

Return Values

The function returns the number of bytes written.

Example

Class: File