Const
Converts a base64 string to a Uint8Array
.
The base64-encoded string.
A Uint8Array
representation of the data.
Converts a hex string to a Uint8Array
.
The hex string to convert.
A Uint8Array
representation of the data.
Converts a Uint8Array
to a base64 string.
The Uint8Array
to convert.
A base64-encoded string.
Converts a Uint8Array
to a hex string.
The Uint8Array
to convert.
A hexadecimal string.
Provides utility functions for converting between
Uint8Array
, base64, and hex. Typically used to convert JSON strings loaded from data sources into binary vectors used as QRy-codes