Documents for @litert/base32 / base32-wasm / stringFromBase32
Variable: stringFromBase32()
conststringFromBase32: (data) =>string
Defined in: base32-wasm.ts:158
Decode a BASE32-encoded string into a UTF-8 string.
This method calls
bufferFromBase32to 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.