Not TestedTesting not done, may not work properly
Streams

TextDecoder

Decode binary byte arrays into JavaScript UTF-8 strings.

Checking support...
Advertisement

Interactive Input Workspace

Ready for input

Web API Execution Output

Result output will be displayed here after processing...

Native JavaScript Code Example (Zero Libraries)

const decoder = new TextDecoder('utf-8');
const str = decoder.decode(bytes);

About the TextDecoder Web API

TextDecoder interface represents a decoder for a specific text encoding format.

Specification:W3C & WHATWG Web API Standard
Sponsored Content