Parameters for file.read. Read a file as text, or as Base64 with encoding: "binary". A path that does not exist fails with NOT_FOUND, and one that is not a regular file with INVALID_PATH.
file.read
encoding: "binary"
NOT_FOUND
INVALID_PATH
Optional
Only exactly binary reads the raw bytes and returns them as Base64; any other value reads the file as text.
binary
"utf-8" Copy
"utf-8"
File to read.
Parameters for
file.read. Read a file as text, or as Base64 withencoding: "binary". A path that does not exist fails withNOT_FOUND, and one that is not a regular file withINVALID_PATH.