Base64.toString
Decodes a Base64-encoded string (with optional padding and/or URL-safe characters) to a string.
Imports
Named
import { Base64 } from 'ox'
Examples
import { Base64 } from 'ox'
const value = Base64.toString('aGVsbG8gd29ybGQ=')
'hello world'
Definition
function toString(
value: string,
): string
Source: src/core/Base64.ts
Parameters
value
- Type:
string
The string, hex value, or byte array to encode.
Return Type
The Base64 decoded string.
string