TextInput stores the entire input value as a string and contains an index as the current character position inside the stream.
TextInput
input
string
index
The current position reached by a decoder.
The string input. Its value is never modified by the decoders at any point in the chain.
TextInput
stores the entireinput
value as astring
and contains anindex
as the current character position inside the stream.