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

fileGetBinaryBlock

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

Function Syntax

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

Method Syntax (Dynamic)

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

Description

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

See File Functions Class: File