API DocumentationfunctionsFunction: readAllBytes()On this pageFunction: readAllBytes() function readAllBytes(filePath): Uint8Array; Defined in: file.d.ts:12 Reads the file from the file system and returns the content as a byte array. File path must be under the main script directory. Parameters ParameterTypefilePathstring Returns Uint8Array