From 4d72e982de973a085ce5e77f92f41389bb13e753 Mon Sep 17 00:00:00 2001 From: "Pooja D.P" Date: Sat, 10 Oct 2020 20:22:02 +0400 Subject: [PATCH] doc: add a statement in the documentation. PR-URL: https://github.com/nodejs/node/pull/35585 Reviewed-By: Rich Trott Reviewed-By: Anna Henningsen Reviewed-By: Luigi Pinca Reviewed-By: Gireesh Punathil --- doc/api/string_decoder.md | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/api/string_decoder.md b/doc/api/string_decoder.md index a810462f508cbf..819283e51175c4 100644 --- a/doc/api/string_decoder.md +++ b/doc/api/string_decoder.md @@ -71,6 +71,7 @@ substitution characters appropriate for the character encoding. If the `buffer` argument is provided, one final call to `stringDecoder.write()` is performed before returning the remaining input. +After `end()` is called, the `stringDecoder` object can be reused for new input. ### `stringDecoder.write(buffer)`