function textEncodeimport { textEncode } from "https://deno.land/x/simple_utility@v2.2.1/src/pure/text.ts"; textEncode(data: string): Uint8ArrayConvert from string to UTF-8 binary. ExamplesExample 1 const text = "HelloWorld!"; const encode = textEncode(text); const decode = textDecode(encode); Parametersdata: stringReturnsUint8Array