method TextEncoder.encode
Jump to headingTextEncoder.encode(input?: string): Uint8Array
Turns a string into binary data (in the form of a Uint8Array) using UTF-8 encoding.
Parameters Jump to heading
optional
Jump to headinginput: string
Return Type Jump to heading
Uint8Array