readFromBinaryFile

Description

Read the bytes of a binary file.

Parameters

Return Type

Byte []

An array of bytes read from the binary file.

Example

Example 1

byte [] fileContent = readFromBinaryFile("C:/icon.jpg");

It is recommended that you use forward slashes () for file paths. As a general observation use the silEnv() routine to create an absolute path.

See also