Represents a Writer instance used to retrieve the written data as a string.
string
Creates the TextWriter instance
Optional
The encoding of the text.
The encoding of the text returned by TextWriter#getData.
The number of bytes written into the instance.
The WritableStream instance.
WritableStream
Retrieves all the written data
A promise resolving to the written data.
Initializes the instance asynchronously
Represents a Writer instance used to retrieve the written data as a
string.