Skip to content

Latest commit

 

History

History
24 lines (14 loc) · 536 Bytes

eth-connect.stringtoutf8bytes.md

File metadata and controls

24 lines (14 loc) · 536 Bytes

Home > eth-connect > stringToUtf8Bytes

stringToUtf8Bytes() function

Converts a string into a Uint8Array encoded with UTF-8

Signature:

export declare function stringToUtf8Bytes(str: string): Uint8Array;

Parameters

Parameter Type Description
str string

Returns:

Uint8Array