Documents for @litert/base32 / base32-js / stringFromBase32
Function: stringFromBase32()
stringFromBase32(
data
):string
Defined in: base32-js.ts:265
Decode a BASE32-encoded string into a UTF-8 string.
This method calls
bufferFromBase32
to decode the input string into aBuffer
, and then converts it to a UTF-8 string.
Parameters
data
string
The BASE32-encoded string to be decoded.
Returns
string
The decoded UTF-8 string.
Throws
RangeError
if the input is not a valid BASE32-encoded string.