interface TextEncoderPropertiesreadonlyencoding: "utf-8"Returns "utf-8". Methodsencode(input?: string): Uint8ArrayReturns the result of running UTF-8's encoder. encodeInto(input: string, dest: Uint8Array): TextEncoderEncodeIntoResultvariable TextEncodertype{ readonly prototype: TextEncoder; new (): TextEncoder; }