Skip to content

Function: utf8ArrayToStr() ​

ts
function utf8ArrayToStr(array, exitOnNull?): string;

Defined in: util/utf8ArrayToStr.ts:13

Internal

Converts a UTF-8 array to a string.

Parameters ​

array ​

Uint8Array

The UTF-8 array to convert

exitOnNull? ​

boolean = false

Whether to exit on the first null byte

Returns ​

string

The string

A Streaming Video Technology Alliance project.