Skip to main content
method TextEncoder.prototype.encode

Returns the result of running UTF-8's encoder.

Parameters

optional
input: string

Returns

Uint8Array