botan.base64_decode

Synopsis

local botan = require "botan"

botan.base64_decode(out_buffer: byte_span, input: byte_span|string, ignore_ws: boolean = true) -> byte_span (1)
botan.base64_decode(input: byte_span|string, ignore_ws: boolean = true) -> secure_byte_span (2)

Description

Perform base64 decoding.

If provided, out_buffer should have at least base64_decode_max_output(input) bytes.