decode method
The TextDecoder.decode()
method returns a string containing text
decoded from the buffer passed as a parameter.
The decoding method is defined in the current TextDecoder object. This includes the expected encoding of the data, and how decoding errors are handled.
Implementation
external String decode([
AllowSharedBufferSource input,
TextDecodeOptions options,
]);