This API reads the entire contents of an IBM i IFS file and performs optional text conversion.
- Path (String) - Path to the IFS file to read.
- CCSID (Number/optional) – The desired CCSID of the returned data. If this parameter is omitted or set to zero, the data will be converted to the CCSID of the IBM i job. If set to 65535 no conversion will be done.
A Buffer instance containing the file data.
An Error instance will be thrown if there are any problems reading the file.