Reads the entire contents of the file from the beginning to the end regardless of the read position in the file. After reading, the read position is set to the beginning of the file.
An array buffer containing the raw binary data of the file.
Reads the contents of the file as text from the current read position to the end. This method sets the read position of the file to the beginning. Use readBinary to read binary data.
The remainder of the file, or an empty string if the read position is at the end of the file.
Contains information about the file.