Home > eth-connect > bytesToUtf8String
Decodes an Uint8Array or hex string into a UTF-8 string
Signature:
export declare function bytesToUtf8String(bytesOrHexString: Uint8Array | string): string;
Parameter | Type | Description |
---|---|---|
bytesOrHexString | Uint8Array | string |
Returns:
string