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