Skip to content

Latest commit

 

History

History
24 lines (14 loc) · 582 Bytes

eth-connect.bytestoutf8string.md

File metadata and controls

24 lines (14 loc) · 582 Bytes

Home > eth-connect > bytesToUtf8String

bytesToUtf8String() function

Decodes an Uint8Array or hex string into a UTF-8 string

Signature:

export declare function bytesToUtf8String(bytesOrHexString: Uint8Array | string): string;

Parameters

Parameter Type Description
bytesOrHexString Uint8Array | string

Returns:

string