openssl::base64

Function decode_block

source
pub fn decode_block(src: &str) -> Result<Vec<u8>, ErrorStack>
Expand description

Decodes a base64-encoded string to bytes.

ยงPanics

Panics if the input length or computed output length overflow a signed C integer.

This corresponds to EVP_DecodeBlock.