Home > eth-connect > stringToUtf8Bytes
Converts a string into a Uint8Array encoded with UTF-8
Signature:
export declare function stringToUtf8Bytes(str: string): Uint8Array;
Parameter | Type | Description |
---|---|---|
str | string |
Returns:
Uint8Array
Home > eth-connect > stringToUtf8Bytes
Converts a string into a Uint8Array encoded with UTF-8
Signature:
export declare function stringToUtf8Bytes(str: string): Uint8Array;
Parameter | Type | Description |
---|---|---|
str | string |
Returns:
Uint8Array