Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

Interface ITextInputStream

interface ITextInputStream
Extends IBinaryInputStream Not implemented. This content describes future functionality. Defines common functionality for text input stream.

Methods

readString()

i32 readString(out string* buffer, i32 limit)
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.

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


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


Last modified on October 29, 2026