File.readFileAsBytes()

Signature

String readFileAsBytes (String filePath)

Domain

action

Description

Read the contents of the specified file and return a byte[]

Parameters

NameTypeDescription
filePathStringThe file to read

Returns

TypeDescription
ObjectContents of the file as bytes

Cautions

none