- From: Adam Rice <notifications@github.com>
- Date: Wed, 18 Jul 2018 09:23:24 +0000 (UTC)
- To: whatwg/encoding <encoding@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 18 July 2018 09:23:50 UTC
Integrate with the streams standard by adding TextEncoderStream and
TextDecoderStream transform streams to the standard. These enable
binary<>text 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.
There is a prollyfill and tests for the new functionality at
https://github.com/GoogleChromeLabs/text-encode-transform-prollyfill.
Closes #72.
You can view, comment on, or merge this pull request online at:
https://github.com/whatwg/encoding/pull/149
-- Commit Summary --
* Add TextEncoderStream and TextDecoderStream transform streams
-- File Changes --
M encoding.bs (499)
-- Patch Links --
https://github.com/whatwg/encoding/pull/149.patch
https://github.com/whatwg/encoding/pull/149.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/encoding/pull/149
Received on Wednesday, 18 July 2018 09:23:50 UTC