You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add TextEncoderStream and TextDecoderStream transform streams
Integrate with the streams standard by adding TextEncoderStream and
TextDecoderStream transform streams to the standard. These enable
byte<>string conversions on a ReadableStream using the pipeThrough()
method (see https://streams.spec.whatwg.org/#rs-pipe-through).
A TextEncoderStream object can be used to transform a stream of strings
to a stream of bytes in UTF-8 encoding. A TextDecoderStream object can
be used to transform a stream of bytes in the encoding passed to the
constructor to strings.
Tests: web-platform-tests/wpt#12430.
There is a prollyfill and tests for the new functionality at
https://github.com/GoogleChromeLabs/text-encode-transform-prollyfill.
Closes#72.
0 commit comments