Decode base64 to a byte array without Buffer.
Buffer
Standard padded base64.
Decoded bytes, or undefined when the input is malformed.
undefined
decodeBase64('aGVsbG8=')?.length === 5; Copy
decodeBase64('aGVsbG8=')?.length === 5;
Decode base64 to a byte array without
Buffer.