TextInputStream.ReadAll Function

Returns all of the text (as a String) from the TextInputStream. The optional Encoding parameter enables you to specify the encoding of the text.

Syntax
result = TextInputStream.ReadAll( [Encoding] )

Parameters
Encoding | TextEncoding (Optional)

Return Value
Result | String

# Notes

If you pass Nil, the default encoding is used. This is usually UTF-8, unless it was set to another encoding via an assignment statement. If you want to set the encoding to Nil, use the Encoding property instead.