https://developer.mozilla.org/en-US/docs/Web/API/TextEncoderStream
TextEncoderStream - Web APIs | MDN
The TextEncoderStream interface of the Encoding API converts a stream of strings into bytes in the UTF-8 encoding. It is the streaming equivalent of...
web apistextencoderstreammdn