- stringToBytes(type: "utf8" | "base64" | "base64url" | "hex" | "base16" | "base32" | "base58" | "base58xmr", str: string): Uint8Array
-
Parameters
-
type: "utf8" | "base64" | "base64url" | "hex" | "base16" | "base32" | "base58" | "base58xmr"
-
str: string
Returns Uint8Array