Skip to main content

bytesToUtf8String() function

Builds a string from a Uint8Array using the utf-8 encoding.

Signature:

export declare function bytesToUtf8String(b: Uint8Array): string

Parameters

Parameter

Type

Description

b

Uint8Array

the array to be converted

**Returns:**

string