OptionalerrorAllows to massage any possibly error that happens during reading.
Optional ReadonlylengthIs an integer specifying how many bytes to read from the file. By default, all bytes will be read.
OptionallimitsIf provided, the size of the file will be checked against the limits.
Optional ReadonlypositionIs an integer specifying where to begin reading from in the file. If position is undefined, data will be read from the current file position.
The size of the buffer to use before sending to the stream.