Baseline Widely available
Note: This feature is available in Web Workers.
The TextEncoderStream
interface of the Encoding API converts a stream of strings into bytes in the UTF-8 encoding. It is the streaming equivalent of TextEncoder
.
TextEncoderStream()
Creates a new TextEncoderStream
object.
TextEncoderStream.encoding
Read only
Always returns "utf-8"
.
TextEncoderStream.readable
Read only
Returns the ReadableStream
instance controlled by this object.
TextEncoderStream.writable
Read only
Returns the WritableStream
instance controlled by this object.
Examples of streaming structured data and HTML
Specifications Browser compatibility See alsoRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4