Skip to main content
method TextDecoder.decode
private
TextDecoder.decode(
input?: BufferSource,
): string
Deprecated

Turns binary data, often in the form of a Uint8Array, into a string given the encoding.

Parameters

optional
input: BufferSource
optional
options: TextDecodeOptions

Return Type

string
Back to top