Interface ITextInputStream
interface ITextInputStream
Extends IBinaryInputStream
Not implemented. This content describes future functionality.
Defines common functionality for text input stream.
Methods
readString()
Not implemented. This content describes future functionality. Pull a string from this source into the specified buffer. Irrespectively of the text encoding provided for the input stream, the read strings are auto-converted into UTF-8.i32readString(outstring*buffer,i32limit)
Parameters
buffer (out)
string* — Required
The buffer to read the string into.
limit
i32 — Required
The maximum number of Unicode code points to read
Returns
i32
How many Unicode code points were read.
Throws
InvalidDataError— when data is invalid or malformed.
readLine()
string readLine()
Not implemented. This content describes future functionality.
Reads a single line from the stream.
The API supports both LF and CRLF terminators.
Returns
string
The line read from the stream, or null.
The returned value does not include the line terminator.
Throws
InvalidDataError— when data is invalid or malformed.

