Documents for @litert/base32 / base32-js / stringToBase32
Function: stringToBase32()
stringToBase32(
data
):string
Defined in: base32-js.ts:246
Encode a UTF-8 string into a BASE32-encoded string.
This method transform the input string into a
Buffer
, and then callsbufferToBase32
.
Parameters
data
string
The string to be encoded.
Returns
string
The BASE32-encoded string.