myFile.read( [ chars ] ) in Photoshop DOM

Read the contents of the file.

Arguments

nametypedescription
chars Number [optional] The number of characters to re
Return Type
String

Description

Returns a string that contains up to the number of characters that were requested.

If chars is not supplied, the entire file is read, starting at the current position.