Skip to main content
Open topic with navigation CAPL Functions » General » Function Overview » fileWriteBinaryBlock

fileWriteBinaryBlock

Valid for: CANoe DE • CANoe:lite DE • CANoe4SW DE • CANoe4SW:lite DE

Function Syntax

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

Method Syntax (Dynamic)

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

Description

This function writes buffsize bytes 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

See File Functions Class: File