stream: implement TextEncoderStream and TextDecoderStream

Experimental as part of the web streams implementation

Signed-off-by: James M Snell <jasnell@gmail.com>

PR-URL: https://github.com/nodejs/node/pull/39347
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
This commit is contained in:
James M Snell committed 2021-07-14 09:12:43 -07:00
1 parent c6a2077868
commit 25e2f177cb
5 files changed
+429

No files matched your search

+4
View File
@@ -253,6 +253,10 @@ const customTypesMap = {
'webstreams.md#webstreamsapi_class_bytelengthqueuingstrategy',
'CountQueuingStrategy':
'webstreams.md#webstreamsapi_class_countqueuingstrategy',
'TextEncoderStream':
'webstreams.md#webstreamsapi_class_textencoderstream',
'TextDecoderStream':
'webstreams.md#webstreamsapi_class_textdecoderstream',
};
const arrayPart = /(?:\[])+$/;