From 71daf1e3ffd74d06adbfba05ce644a641ea1e997 Mon Sep 17 00:00:00 2001 From: Luigi Pinca Date: Wed, 27 Nov 2024 15:11:49 +0100 Subject: [PATCH] doc: add history entry for textEncoder.encodeInto() Fixes: https://github.com/nodejs/node/issues/55938 PR-URL: https://github.com/nodejs/node/pull/55990 Refs: https://github.com/nodejs/node/pull/29524 Reviewed-By: Antoine du Hamel Reviewed-By: LiviaMedeiros --- doc/api/util.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/api/util.md b/doc/api/util.md index cf193528368188..fd181e3b299798 100644 --- a/doc/api/util.md +++ b/doc/api/util.md @@ -2166,6 +2166,10 @@ encoded bytes. ### `textEncoder.encodeInto(src, dest)` + + * `src` {string} The text to encode. * `dest` {Uint8Array} The array to hold the encode result. * Returns: {Object}