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

ParameterTypeDescription
bUint8Arraythe array to be converted

Returns:

string