createFileInput

Accessesa file as a byte array with the same capabilities as MessageParser, to read raw bytes. See also createMessageParser on page 154.

Syntax

ogscript.createFileInput (File path);


 

Parameters

Parameter

Type

Required

Description

File path

String

Yes

Path of the file to open (can be relative to the panel)

Returns

FileInputParser (like MessageParser but with getSize(), close(), and isClosed().

Example

Coming Soon.