Specifies the stream from which to read.
If true, the input data will not be validated but will instead be made valid UTF-8.
Optional size limit of the data that is read.
The full contents of the stream, excluding a possible BOM, are returned as a UTF-8 string.
An exception is thrown if max_bytes != 0 and the stream contains more than max_bytes data. If the sanitize parameter is false and the stream contains invalid UTF-8 code sequences, a UTFException is thrown.
Reads the complete contents of a stream, assuming UTF-8 encoding.