Xojo.IO.TextInputStream.ReadAll

From Xojo Documentation

Method

Xojo.IO.TextInputStream.ReadAll() As Text

Supported for all project types and targets.

Reads all remaining bytes from the stream and returns them as a Text object.

Exceptions

  • IOException if there is not enough memory available or the stream is not open.

Sample Code

Var allText As Text
allText = inputStream.ReadAll