Skip to main content
TextEncoder.encodeInto - Encoding - Web documentation
method TextEncoder.encodeInto
Private
TextEncoder.encodeInto(
input: string,
dest: Uint8Array,
): TextEncoderEncodeIntoResult

Encodes a string into the destination Uint8Array and returns the result of the encoding.

Parameters

input: string
dest: Uint8Array

Return Type

Back to top