src: add encodeInto to TextEncoder
Add function encodeInto to TextEncoder, fix bug MessageChannel is not defined in encodeInto.any.js.
Fixes: https://github.com/nodejs/node/issues/28851 Refs: https://github.com/nodejs/node/issues/26904
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines